aboutgitcodebugslistschat
path: root/dhcpv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv6.c')
-rw-r--r--dhcpv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv6.c b/dhcpv6.c
index b94c8bc..fea4a84 100644
--- a/dhcpv6.c
+++ b/dhcpv6.c
@@ -562,7 +562,7 @@ int dhcpv6(struct ctx *c, const struct pool *p,
const struct udphdr *uh;
size_t mlen, n;
- if (!packet_data(p, 0, &data))
+ if (!packet_get(p, 0, &data))
return -1;
uh = IOV_REMOVE_HEADER(&data, uh_storage);