freebsd-dev/lib/libc/yp
Bill Paul bc8e373c9b 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.
1995-07-05 06:04:20 +00:00
..
Makefile.inc
xdryp.c Fix xdr_ypmap_parms() so that it agrees with xdr_domainname(), xdr_peername() 1995-04-02 19:58:29 +00:00
yplib.c The ypprot_err() function incorrectly maps YP_NODOM to YPERR_NODOM. 1995-07-05 06:04:20 +00:00