Re: ioctl(SIOCGIFFLAGS) uses the interface address instead of name?

2002-11-07 Thread Corinna Vinschen
On Wed, 16 Oct 2002 15:09:24 +0200 (MEST), Gilles Courcoux [EMAIL PROTECTED] wrote: I would thus propose this modification to fhandler_socket.cc (change that shouldn't break applications relying on the until-now cygwin behavior) : --- fhandler_socket.cc Sat Jul 6 08:05:32 2002 +++

ioctl(SIOCGIFFLAGS) uses the interface address instead of name?

2002-10-16 Thread Gilles Courcoux
Hello, ioctl(SIOCGIFFLAGS) doesn't work the way I expected it to : it apparently uses as an input the ifr_addr field of the output union present in struct ifreq, instead of the ifr_name (first union in that struct) which is used by the 2 Unices I have access to (Linux and Solaris). The code I'm