gluon/package/gluon-radv-filterd/src
Sven Eckelmann e3cb03010d
gluon-radv-filterd: Fix sock initialization check
A socket with the value 0 is valid (and it the first opened socket). It is
therefore a bad idea to check for 0 when wanting to find out whether a
socket was initialized.

Instead initialize it with -1 and check for < 0 to find out whether the
socket was initialized or not.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2018-01-03 15:45:21 +01:00
..
gluon-radv-filterd.c gluon-radv-filterd: Fix sock initialization check 2018-01-03 15:45:21 +01:00
mac.h gluon-radv-filterd: Use generic netlink to request batman-adv data 2018-01-03 15:45:21 +01:00
Makefile gluon-radv-filterd: Use generic netlink to request batman-adv data 2018-01-03 15:45:21 +01:00
respondd.c gluon-radv-filterd: Use existing type ether_addr for mac addresses 2018-01-03 15:34:16 +01:00