summaryrefslogtreecommitdiff
path: root/sys/netinet6/icmp6.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet6/icmp6.c')
-rw-r--r--sys/netinet6/icmp6.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c
index 1800667847c..c34c599adf3 100644
--- a/sys/netinet6/icmp6.c
+++ b/sys/netinet6/icmp6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: icmp6.c,v 1.70 2003/06/03 06:25:26 itojun Exp $ */
+/* $OpenBSD: icmp6.c,v 1.71 2003/06/11 02:54:02 itojun Exp $ */
/* $KAME: icmp6.c,v 1.217 2001/06/20 15:03:29 jinmei Exp $ */
/*
@@ -642,11 +642,11 @@ icmp6_input(mp, offp, proto)
goto badcode;
break;
- case MLD6_LISTENER_QUERY:
- case MLD6_LISTENER_REPORT:
- if (icmp6len < sizeof(struct mld6_hdr))
+ case MLD_LISTENER_QUERY:
+ case MLD_LISTENER_REPORT:
+ if (icmp6len < sizeof(struct mld_hdr))
goto badlen;
- if (icmp6->icmp6_type == MLD6_LISTENER_QUERY) /* XXX: ugly... */
+ if (icmp6->icmp6_type == MLD_LISTENER_QUERY) /* XXX: ugly... */
icmp6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_mldquery);
else
icmp6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_mldreport);
@@ -660,14 +660,14 @@ icmp6_input(mp, offp, proto)
/* m stays. */
break;
- case MLD6_LISTENER_DONE:
+ case MLD_LISTENER_DONE:
icmp6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_mlddone);
- if (icmp6len < sizeof(struct mld6_hdr)) /* necessary? */
+ if (icmp6len < sizeof(struct mld_hdr)) /* necessary? */
goto badlen;
break; /* nothing to be done in kernel */
- case MLD6_MTRACE_RESP:
- case MLD6_MTRACE:
+ case MLD_MTRACE_RESP:
+ case MLD_MTRACE:
/* XXX: these two are experimental. not officially defined. */
/* XXX: per-interface statistics? */
break; /* just pass it to applications */