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:45 +0000 (12:20 +0100)
commit2db0600d446033ec4ab13f75f22116a36f0fad5d
treeee01285aea7874dbcde7d9665f1078f1661c0a68
parent330eb4709aeace4c39d825b320e9f0c25fa8b6ec
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