From owner-freebsd-commit Mon Jan 8 02:32:15 1996 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA29513 for freebsd-commit-outgoing; Mon, 8 Jan 1996 02:32:15 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA29299 for cvs-all-outgoing; Mon, 8 Jan 1996 02:30:49 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA29235 for cvs-sbin-outgoing; Mon, 8 Jan 1996 02:29:23 -0800 (PST) Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id CAA29210 Mon, 8 Jan 1996 02:28:50 -0800 (PST) Received: (from peter@localhost) by jhome.DIALix.COM (8.7.3/8.7.3) id SAA01809; Mon, 8 Jan 1996 18:28:44 +0800 (WST) Date: Mon, 8 Jan 1996 18:28:43 +0800 (WST) From: Peter Wemm To: CVS-committers@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org Subject: Re: cvs commit: src/sbin/ifconfig ifconfig.c In-Reply-To: <199601081023.CAA28785@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-commit@FreeBSD.ORG Precedence: bulk On Mon, 8 Jan 1996, Peter Wemm wrote: > 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. I am starting to hate this program... It's beginning to remind me of the SUP source... -Peter