summaryrefslogtreecommitdiff
path: root/libnet/src/libnet_build_icmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnet/src/libnet_build_icmp.c')
-rw-r--r--libnet/src/libnet_build_icmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnet/src/libnet_build_icmp.c b/libnet/src/libnet_build_icmp.c
index e9590d3..deb030d 100644
--- a/libnet/src/libnet_build_icmp.c
+++ b/libnet/src/libnet_build_icmp.c
@@ -415,7 +415,7 @@ libnet_build_icmpv6_common(
return (-1);
}
- n = sizeof(icmp_hdr) + specific_s + payload_s;
+ n = LIBNET_ICMPV6_COMMON_H + specific_s + payload_s;
p = libnet_pblock_probe(l, ptag, n, pblock_type);