From owner-freebsd-net Fri Jun 4 19: 1:11 1999 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id EA80014C01 for ; Fri, 4 Jun 1999 19:00:55 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.1/8.9.1) id WAA12746; Fri, 4 Jun 1999 22:00:50 -0400 (EDT) (envelope-from wollman) Date: Fri, 4 Jun 1999 22:00:50 -0400 (EDT) From: Garrett Wollman Message-Id: <199906050200.WAA12746@khavrinen.lcs.mit.edu> To: Barney Wolff Cc: freebsd-net@FreeBSD.ORG Subject: Re: subtle SIOCGIFCONF bug In-Reply-To: <375884220.6584@databus.databus.com> References: <375884220.6584@databus.databus.com> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > You have not said specifically what about SIOCGIFCONF is bad, that > could possibly justify the incredible statement that one should > use a non-portable technique when a portable technique is available. > SIOGIFCONF works on Unixware, Solaris, HP-UX, Irix and FreeBSD, just > to list systems I can access right now. No, it doesn't work. It just seems to work because you don't have enough interfaces or addresses configured. (And furthermore, compare what contortions an ioctl-based implementation would have to go through to deal with the differences in all those systems. So much for portability!) -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message