diff options
author | Bill Paul <wpaul@FreeBSD.org> | 1995-07-05 06:04:20 +0000 |
---|---|---|
committer | Bill Paul <wpaul@FreeBSD.org> | 1995-07-05 06:04:20 +0000 |
commit | bc8e373c9bc14504e443c2b00fc2eaa7ae4b0441 (patch) | |
tree | 07933a8ecbcae308fd6d5b04ada2f2601b7b5171 /sys/i386/isa | |
parent | 7bb916c40d8abb28fdfc8b22913e88294814592a (diff) | |
download | src-bc8e373c9bc14504e443c2b00fc2eaa7ae4b0441.tar.gz src-bc8e373c9bc14504e443c2b00fc2eaa7ae4b0441.zip |
The ypprot_err() function incorrectly maps YP_NODOM to YPERR_NODOM.
Strange as it sounds, it should map to YPERR_DOMAIN instead.
The YP_NODOM protocol error code is generally returned by ypserv when you
ask it for data from a domain that it doesn't support. By contrast,
the YPERR_NODOM error code means 'local domain name not set.'
Consequently, this incorrect mapping leads to yperr_string() generating
a very confusing error message. YPERR_DOMAIN says 'couldn't
bind to a server which serves this domain' which is much closer
to the truth.
Notes
Notes:
svn path=/head/; revision=9403
Diffstat (limited to 'sys/i386/isa')
0 files changed, 0 insertions, 0 deletions