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> |
||
---|---|---|
.. | ||
gluon-radv-filterd.c | ||
mac.h | ||
Makefile | ||
respondd.c |