freebsd-dev/lib/libc/net
Bill Paul ff27d2a474 Fix other half of problem reported in PR #1079: _getnetbynisaddr() is
broken. The translation from network number to ASCII string was not
working correctly (you would sometimes get things like 0.244.0.0 instead
of 244.0.0).

Also copied results of yp_match() to a static buffer for consistency
with gethostbynis.c.

Note: _getnetbynisaddr() chops off trailing .0's, i.e. 244.0.0 is
truncated to 244. By contrast, getnetbyht.c code (for local /etc/networks
lookups) leaves the traling .0's in place. This means that the NIS
and local file lookups will match different things when looking up the
same network number. I'm not sure which is the correct behavior. (I
think the DNS lookup code tries all combinations -- should the NIS
and local host lookup routines do that too?)
1996-03-23 22:16:22 +00:00
..
byteorder.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
ether_addr.c gethostbynis.c: 1996-03-16 21:25:59 +00:00
ethers.3 Correct a bunch of man page cross references and generally 1996-02-11 22:38:05 +00:00
gethostbydns.c The last of the bind-4.9.3-REL resolver merges. 1996-01-13 09:03:58 +00:00
gethostbyht.c The last of the bind-4.9.3-REL resolver merges. 1996-01-13 09:03:58 +00:00
gethostbyname.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
gethostbynis.c gethostbynis.c: 1996-03-16 21:25:59 +00:00
gethostnamadr.c Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
getnetbydns.c The last of the bind-4.9.3-REL resolver merges. 1996-01-13 09:03:58 +00:00
getnetbyht.c The last of the bind-4.9.3-REL resolver merges. 1996-01-13 09:03:58 +00:00
getnetbynis.c Fix other half of problem reported in PR #1079: _getnetbynisaddr() is 1996-03-23 22:16:22 +00:00
getnetent.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getnetnamadr.c Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
getproto.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getprotoent.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getprotoent.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getprotoname.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getservbyname.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getservbyport.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
getservent.3 Fix the prototypes for getservby{name,port}(). 1995-07-09 08:17:01 +00:00
getservent.c Getpwent() and getservent() can wind up calling free() with 1996-01-29 20:16:30 +00:00
herror.c The last of the bind-4.9.3-REL resolver merges. 1996-01-13 09:03:58 +00:00
inet_addr.c The last of the bind-4.9.3-REL resolver merges. 1996-01-13 09:03:58 +00:00
inet_lnaof.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
inet_makeaddr.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
inet_netof.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
inet_network.c Fix inet_network to not dump core if passed in an address 1996-02-17 21:11:36 +00:00
inet_ntoa.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
inet.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
iso_addr.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
iso_addr.c Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
linkaddr.3 Fixed a bunch of man page cross references that were 1996-02-15 20:07:05 +00:00
linkaddr.c Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
Makefile.inc XNS sort-of-support is no more. 1996-02-13 17:30:37 +00:00
ns_addr.c Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
ns_ntoa.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
ns.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
rcmd.3 Fixed a bunch of man page cross references that were 1996-02-15 20:07:05 +00:00
rcmd.c Submitted by: Bill Fenner <fenner@parc.xerox.com> 1995-08-14 23:52:49 +00:00
recv.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
res_comp.c Merge the 4.9.3-rel code into the res_* parts. The gethostXXXbyYYY 1996-01-07 09:15:02 +00:00
res_config.h The last of the bind-4.9.3-REL resolver merges. 1996-01-13 09:03:58 +00:00
res_data.c Part of bind-4.9.3-rel.. This is for my convenience and reference. 1996-01-07 06:57:27 +00:00
res_debug.c Remove support for OSI networking in user-land (#ifdef OSI aor CCITT) 1996-02-06 20:36:15 +00:00
res_init.c Merge the 4.9.3-rel code into the res_* parts. The gethostXXXbyYYY 1996-01-07 09:15:02 +00:00
res_mkquery.c Merge the 4.9.3-rel code into the res_* parts. The gethostXXXbyYYY 1996-01-07 09:15:02 +00:00
res_query.c Merge the 4.9.3-rel code into the res_* parts. The gethostXXXbyYYY 1996-01-07 09:15:02 +00:00
res_send.c Merge the 4.9.3-rel code into the res_* parts. The gethostXXXbyYYY 1996-01-07 09:15:02 +00:00
resolver.3 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
send.c BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00