main: fix the check on inet_pton return value because it returns 1 on success.
authorSaverio Proto <zioproto@gmail.com>
Fri, 22 Feb 2013 11:03:10 +0000 (12:03 +0100)
committerSaverio Proto <zioproto@gmail.com>
Fri, 22 Feb 2013 11:20:09 +0000 (12:20 +0100)
commit247df1398d5b19e9583213f6f59f1696fedf4f91
tree10e746df104cc17cda9d8b6b9913138c4b781cd7
parent2f0f49c092f7281a5684eba85247f0e4b7242af7
main: fix the check on inet_pton return value because it returns 1 on success.

This bug was introduced in commit b3f05653fc085193504218e47458891acf7c495d and it was preventing olsrd from working in IPv6 mode.
src/linux/net.c