Weird problem IP change monitoring

Sebastian Kricner sebastian.kricner at tuxwave.net
Wed Jun 3 16:19:54 PDT 2015


Hello,

i have written a small C program to monitor IPv4 address changes with
libnl and generally it works. But sometimes it delivers the IP address
of a different interface alltough i do a strcmp() on interface name.

Attached the program.

What might cause the problem?

Regards

Sebastian Kricner


-- 
http://tuxwave.net -- the difference to think makes it real!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipchange.c
Type: text/x-c
Size: 2841 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20150604/4ecd0b5b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20150604/4ecd0b5b/attachment.sig>


More information about the libnl mailing list