Date: Fri, 4 Jun 1999 22:00:50 -0400 (EDT) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: Barney Wolff <barney@databus.com> Cc: freebsd-net@FreeBSD.ORG Subject: Re: subtle SIOCGIFCONF bug Message-ID: <199906050200.WAA12746@khavrinen.lcs.mit.edu> In-Reply-To: <375884220.6584@databus.databus.com> References: <375884220.6584@databus.databus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Fri, 4 Jun 1999 21:19 EDT, Barney Wolff <barney@databus.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906050200.WAA12746>