lkml.org 
[lkml]   [2000]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Broadcast
On Wed, 1 Nov 2000, Dennis Bjorklund wrote:

> I'm trying to turn of the broadcast flag for a network card. But I
> can't, why??
>

Your version of `ifconfig` is probably broken (just like mine).
`strace` it and see:
ioctl(5, SIOCGIFFLAGS, 0xbffff620) = 0
ioctl(5, SIOCSIFFLAGS, 0xbffff620) = 0
_exit(0) = ?

In this case the flags were gotten with SIOCGIFFLAGS, then the
exact same stuff was written back with SIOCSIFFLAGS.


Cheers,
Dick Johnson

Penguin : Linux version 2.2.17 on an i686 machine (801.18 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.051 / U:0.180 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site