From owner-freebsd-commit Mon Jan 8 02:26:32 1996 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA29016 for freebsd-commit-outgoing; Mon, 8 Jan 1996 02:26:32 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA28928 for cvs-all-outgoing; Mon, 8 Jan 1996 02:25:05 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA28798 for cvs-sbin-outgoing; Mon, 8 Jan 1996 02:23:36 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA28785 Mon, 8 Jan 1996 02:23:32 -0800 (PST) Date: Mon, 8 Jan 1996 02:23:32 -0800 (PST) From: Peter Wemm Message-Id: <199601081023.CAA28785@freefall.freebsd.org> To: CVS-committers, cvs-sbin Subject: cvs commit: src/sbin/ifconfig ifconfig.c Sender: owner-commit@FreeBSD.ORG Precedence: bulk peter 96/01/08 02:23:30 Modified: sbin/ifconfig ifconfig.c Log: Yet another "fix" for some of the mistakes in the recent versions.. I discovered that when asking for the IFLIST via sysctl(), if you specify only AF_INET address, it actually gives you only AF_INET.. (suprise, suprise..!) Now, it should "do the right thing" in just about all cases... The only problem, is that "the right thing" isn't exactly clear in all cases. Revision Changes Path 1.12 +25 -13 src/sbin/ifconfig/ifconfig.c