chiark / gitweb /
sd-dhcp6-client: Make end of successfull option parsing explicit
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 10 Dec 2014 14:17:30 +0000 (16:17 +0200)
committerTom Gundersen <teg@jklm.no>
Wed, 10 Dec 2014 17:31:21 +0000 (18:31 +0100)
commitc47e8936a43ce546e8a74fa569e9fbfae6c64be7
tree3052369118db0b807a5fe6e5f2fefac943eedcd0
parent8c67d0a74bc466f0a21d96625ce6b4e24b2a5f1f
sd-dhcp6-client: Make end of successfull option parsing explicit

When all DHCPv6 options have been parsed, dhcp6_option_parse() returns
-ENOMSG. Explicitely set the return value to indicate success so that
later code does not need to take this special value into account.
src/libsystemd-network/sd-dhcp6-client.c