Re: Binding a packet socket to interface down

2006-06-22 Thread Evgeniy Polyakov
On Thu, Jun 22, 2006 at 06:32:29PM +0300, Robert Iakobashvili ([EMAIL PROTECTED]) wrote: > Hi, > > When packet socket (PF_SOCKET) is attempted in syscall bind () to the > network interface, which is down (no IF_UPP flag), packet_do_bind () > sets error to the socket, but bind () does not fail. >

Binding a packet socket to interface down

2006-06-22 Thread Robert Iakobashvili
Hi, When packet socket (PF_SOCKET) is attempted in syscall bind () to the network interface, which is down (no IF_UPP flag), packet_do_bind () sets error to the socket, but bind () does not fail. When datagram, stream or raw socket fail to bind to some local ip-port/ip, bind () fails. Is this b