summaryrefslogtreecommitdiff
path: root/print-ip6.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-01-30 17:29:33 -0800
committerGuy Harris <guy@alum.mit.edu>2018-01-30 17:29:33 -0800
commit3db38df8ed9dcd8191438bb69e2ddbda6d90ed61 (patch)
tree993df9ab65159c75d8c1fbde9c9a0bb78072098d /print-ip6.c
parent7f952dfbb3ffd7fa937af4c97f5e58cdf03e4aab (diff)
downloadtcpdump-3db38df8ed9dcd8191438bb69e2ddbda6d90ed61.tar.gz
Use nd_ipv6 rather than struct in6_addr in packet-layout structures.
Also, use it, and nd_ipv4, in sizeof() operations.
Diffstat (limited to 'print-ip6.c')
-rw-r--r--print-ip6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-ip6.c b/print-ip6.c
index a8870ca2..53815402 100644
--- a/print-ip6.c
+++ b/print-ip6.c
@@ -151,7 +151,7 @@ ip6_finddst(netdissect_options *ndo, struct in6_addr *dst,
done:
trunc:
- UNALIGNED_MEMCPY(dst, dst_addr, sizeof(struct in6_addr));
+ UNALIGNED_MEMCPY(dst, dst_addr, sizeof(nd_ipv6));
}
/*