Re: Notifier chains bug ?
From: Oleg Kutkov
Date: Tue Mar 02 2010 - 00:50:11 EST
2010/3/2 Américo Wang <xiyou.wangcong@xxxxxxxxx>:
> On Tue, Mar 2, 2010 at 8:08 AM, Oleg Kutkov <elenbert@xxxxxxxxx> wrote:
>> I try to used notifier chains for monitoring network devices events.
>> All works perfectly when just i'm connecting/disconnecting network cable or
>> up/down interface via ifconfig.
>> But when i try to change interface address - nothing happens. Notifier is
>> don't send any events :(
> I think you mean IP address? No, NETDEV_CHANGEADDR is for hardware
> address, not for IP address.
> If you were changing mac address, you will receive NETDEV_CHANGEADDR.
Thank for quick answer.
Yes, i mean IP address. And what about NETDEV_CHANGE ?
Is there possible for monitoring IP address/netmask changing ?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/