network: fix errno in log_syntax()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 2 Feb 2019 22:08:10 +0000 (23:08 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 10 Feb 2019 16:28:09 +0000 (01:28 +0900)
commitc606db69ab5d872c79046aa1632e38be6ac6d1db
tree166343385cbb1f3754a2e84f8830d93b2e579e78
parent2f92b1e99a8343248fba2118793f754bac2b50c7
network: fix errno in log_syntax()

in_addr_is_null() returns boolean if the first argument is valid.
So, passing the return value to log_syntax() as errno is wrong.
src/network/networkd-ipv6-proxy-ndp.c
src/network/networkd-network.c