[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5e9821061003012150y15e543cdkf6f23c3a7a47e4a3@mail.gmail.com>
Date: Tue, 2 Mar 2010 07:50:01 +0200
From: Oleg Kutkov <elenbert@...il.com>
To: Américo Wang <xiyou.wangcong@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: Notifier chains bug ?
2010/3/2 Américo Wang <xiyou.wangcong@...il.com>:
> On Tue, Mar 2, 2010 at 8:08 AM, Oleg Kutkov <elenbert@...il.com> wrote:
>> Hello.
>> 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 ?
Thank.
--
Best regards,
Oleg
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists