Date: Thu, 9 Jan 1997 06:55:16 -0800 (PST) From: Peter Wemm <peter> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/rpc get_myaddress.c Message-ID: <199701091455.GAA02850@freefall.freebsd.org>
index | next in thread | raw e-mail
peter 97/01/09 06:55:15
Modified: lib/libc/rpc get_myaddress.c
Log:
Two minor changes to try and make it more robust in the face of many
interfaces, until it's redone to use sysctl().
- bump the SIOCGIFCONF buffer size from 1K to 8K
- if we didn't find a suitable address, return a failure. Previously
if it didn't find anything it left the return address uninitialised.
Perhaps it would be better to return AF_INET/111/127.0.0.1 rather than
failing?
Revision Changes Path
1.7 +4 -2 src/lib/libc/rpc/get_myaddress.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701091455.GAA02850>
