summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-10-24 09:33:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-10-24 09:33:23 +0000
commit5ae012bbdf666fe946ba7459ff77c804405d3fcd (patch)
treeabdded58d6b1c818e0fad05e5ceabe2a89849019 /usr.sbin/tcpdump
parent2d6af6ae1214605e34f785d1e92ddcff5996620d (diff)
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;
}