summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/dhcpv6.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dhcpv6.c b/src/dhcpv6.c
index 5549394..e4edf31 100644
--- a/src/dhcpv6.c
+++ b/src/dhcpv6.c
@@ -37,8 +37,7 @@ static void handle_client_request(void *addr, void *data, size_t len,
/* Create socket and register events */
int dhcpv6_init(void)
{
- dhcpv6_ia_init();
- return 0;
+ return dhcpv6_ia_init();
}
int dhcpv6_setup_interface(struct interface *iface, bool enable)