dhcp6: Fix valgrind nitpick about returned test case value
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 15 Jan 2018 15:15:13 +0000 (17:15 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 15 Jan 2018 16:00:33 +0000 (18:00 +0200)
commit3c03564911d2e0b6e838fa40ba92716367bf17ed
tree51d5a92d79b8e0ad258b3dd27550e5ec65fdb374
parent01816fee337f7899b7d196f5847e4a2e6a738437
dhcp6: Fix valgrind nitpick about returned test case value

Calling dhcp6_option_parse_address() will always return a value
< 0 on error even though lt_valid remains unset. This is more
than valgrind can safely detect, but let's fix the valgrind
nitpick anyway.

While fixing, use UINT32_MAX instead of ~0 on the same line.
src/libsystemd-network/dhcp6-option.c