This is the mail archive of the
mailing list for the Cygwin project.
Re: SIOCGIFCONF patch
- From: Corinna Vinschen <cygwin-patches at cygwin dot com>
- To: Alexander Gottwald <Alexander dot Gottwald at s1999 dot tu-chemnitz dot de>
- Cc: cygwin-patches at cygwin dot com
- Date: Sun, 10 Nov 2002 09:25:33 +0100
- Subject: Re: SIOCGIFCONF patch
- References: <Pine.LNX.email@example.com>
On Sat, Nov 09, 2002 at 08:28:39PM +0100, Alexander Gottwald wrote:
> A user of Cygwin/Xfree86 reported that cygwin did not report an interface
> for his wireless network adapter. It seems that the GetIfTable function
> did not return all network adapters on his computer. As a workaround to
> this problem i changed the code to use GetIfEntry for each configured
> I also had to change the algorithm for finding all addresses configured
> for one network adapter and changed the previous code which could only
> enumerate 10 addresses per adapter to use sprintf and raised that limit too.
This part of the patch is fine.
> I also added code for getting the device metric for an interface. I'm
> not sure if this is correctly solved and I have no problems with removing
> this part again.
As I wrote in PM yesterday, I think it's incorrect to get the IF metric
from the routing entry. It's the other way around according to the
doc excerpt which you did friendly send to me. So, I actually would like
to ask you to take this part out. As soon as you send the tweaked patch,
I'll check it in.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:firstname.lastname@example.org
Red Hat, Inc.