From 671ccaabc893b53be8a1891aaf2236b657d6ce06 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Mon, 11 Feb 2019 15:46:29 +0100 Subject: dhcpv6-ia: move function definitions to odhcpd.h Signed-off-by: Hans Dedecker --- src/dhcpv6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dhcpv6.c') diff --git a/src/dhcpv6.c b/src/dhcpv6.c index e88c007..400e988 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -147,7 +147,7 @@ int dhcpv6_setup_interface(struct interface *iface, bool enable) odhcpd_register(&iface->dhcpv6_event); } - ret = dhcpv6_setup_ia_interface(iface, enable); + ret = dhcpv6_ia_setup_interface(iface, enable); out: if (ret < 0 && iface->dhcpv6_event.uloop.fd > 0) { @@ -421,7 +421,7 @@ static void handle_client_request(void *addr, void *data, size_t len, } if (hdr->msg_type != DHCPV6_MSG_INFORMATION_REQUEST) { - ssize_t ialen = dhcpv6_handle_ia(pdbuf, sizeof(pdbuf), iface, addr, data, opts_end); + ssize_t ialen = dhcpv6_ia_handle_IAs(pdbuf, sizeof(pdbuf), iface, addr, data, opts_end); iov[IOV_PDBUF].iov_len = ialen; if (ialen < 0 || -- cgit v1.2.3