diff options
Diffstat (limited to 'ndp.c')
-rw-r--r-- | ndp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -354,7 +354,7 @@ int ndp(const struct ctx *c, const struct icmp6hdr *ih, const struct ndp_ns *ns; struct iov_tail data; - if (!packet_data(p, 0, &data)) + if (!packet_get(p, 0, &data)) return -1; ns = IOV_REMOVE_HEADER(&data, ns_storage); |