Fixes regression introduced in commit
faed29a.
The DHCPv6 message type need to be returned by dhcpv6_handle_reconfigure
via dhcpv6_request when different from -1 so the correct message type
is passed to dhcpv6_request
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
if (msg != DHCPV6_MSG_UNKNOWN)
dhcpv6_handle_reply(orig, rc, NULL, NULL, NULL);
- return (msg == DHCPV6_MSG_UNKNOWN? -1: 1);
+ return (msg == DHCPV6_MSG_UNKNOWN? -1: (int)msg);
}
// Collect all advertised servers