From owner-cvs-lib Thu Jan 9 06:55:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id GAA02857 for cvs-lib-outgoing; Thu, 9 Jan 1997 06:55:17 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id GAA02850; Thu, 9 Jan 1997 06:55:16 -0800 (PST) Date: Thu, 9 Jan 1997 06:55:16 -0800 (PST) From: Peter Wemm Message-Id: <199701091455.GAA02850@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/rpc get_myaddress.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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