summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-10-24 09:33:20 +0000
committerderaadt <deraadt@openbsd.org>2013-10-24 09:33:20 +0000
commit20a2dfaa3b93c9293d79f8209a13fc8be50568d4 (patch)
tree1446f2b6dadbb098f83946c4653adc59c429e4a9 /usr.sbin/tcpdump
parentin_var.h is not needed. (diff)
downloadwireguard-openbsd-20a2dfaa3b93c9293d79f8209a13fc8be50568d4.tar.xz
wireguard-openbsd-20a2dfaa3b93c9293d79f8209a13fc8be50568d4.zip
These two programs got fooled by the KAME/NRL split and need type repair.
They do not indicate a problem with the reduction of namespace export, but got suckered into the 1999 plan. ok benno
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r--usr.sbin/tcpdump/print-icmp6.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/tcpdump/print-icmp6.c b/usr.sbin/tcpdump/print-icmp6.c
index 582d4242479..229ab4b816e 100644
--- a/usr.sbin/tcpdump/print-icmp6.c
+++ b/usr.sbin/tcpdump/print-icmp6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-icmp6.c,v 1.10 2011/09/17 19:56:19 bluhm Exp $ */
+/* $OpenBSD: print-icmp6.c,v 1.11 2013/10/24 09:33:22 deraadt Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994
@@ -607,7 +607,7 @@ icmp6_opt_print(register const u_char *bp, int resid)
void
mld6_print(register const u_char *bp)
{
- register struct mld6_hdr *mp = (struct mld6_hdr *)bp;
+ register struct mld_hdr *mp = (struct mld_hdr *)bp;
register const u_char *ep;
/* 'ep' points to the end of avaible data. */
@@ -616,8 +616,8 @@ mld6_print(register const u_char *bp)
if ((u_char *)mp + sizeof(*mp) > ep)
return;
- printf("max resp delay: %d ", ntohs(mp->mld6_maxdelay));
- printf("addr: %s", ip6addr_string(&mp->mld6_addr));
+ printf("max resp delay: %d ", ntohs(mp->mld_maxdelay));
+ printf("addr: %s", ip6addr_string(&mp->mld_addr));
return;
}