Hi Ben, On 5/22/07, Ben Greear <[EMAIL PROTECTED]> wrote:
> PACKET_(ADD|REMOVE)_MEMBERSHIP, I need to query the real device state.
I have the same problem. I think you can tell by looking at bit 0x100 in /sys/class/net/[ethX]/flags Not exactly fun to use, but it seems to work.
Wow, I searched for this a lot! It could be all I need, although it doesn't seem very robust to look at the bitmap driectly, is it? Maybe it would be cleaner to add an "promiscuity" file to that structure? -- Martín Ferrari - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html