summaryrefslogtreecommitdiffhomepage
path: root/src/dhcpv6.c
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2019-02-11 15:46:29 +0100
committerHans Dedecker <dedeckeh@gmail.com>2019-02-11 15:50:56 +0100
commit671ccaabc893b53be8a1891aaf2236b657d6ce06 (patch)
tree69283ce5503f16fffed26beb599148478d4f06a3 /src/dhcpv6.c
parent0db69b0b85c83fedd74ac77e850669a17c4e6617 (diff)
dhcpv6-ia: move function definitions to odhcpd.h
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/dhcpv6.c')
-rw-r--r--src/dhcpv6.c4
1 files changed, 2 insertions, 2 deletions
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 ||