summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/icmp6.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-12-17 13:00:18 +0000
committerbz <bz@FreeBSD.org>2008-12-17 13:00:18 +0000
commitb1db56aa98b15cfd499cef9616516622f29ad0b4 (patch)
tree25d063d5e1e8efdb96e60a55d552b53db514c8d4 /sys/netinet6/icmp6.c
parentea0d9d2e9af995a203d1871d5aded293a98f5d68 (diff)
downloadFreeBSD-src-b1db56aa98b15cfd499cef9616516622f29ad0b4.zip
FreeBSD-src-b1db56aa98b15cfd499cef9616516622f29ad0b4.tar.gz
Another step assimilating IPv[46] PCB code:
normalize IN6P_* compat flags usage to their equialent INP_* counterpart. Discussed with: rwatson Reviewed by: rwatson MFC after: 4 weeks
Diffstat (limited to 'sys/netinet6/icmp6.c')
-rw-r--r--sys/netinet6/icmp6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c
index ac1d10b..7bdd8a8 100644
--- a/sys/netinet6/icmp6.c
+++ b/sys/netinet6/icmp6.c
@@ -1983,7 +1983,7 @@ icmp6_rip6_input(struct mbuf **mp, int off)
}
if (n != NULL ||
(n = m_copy(m, 0, (int)M_COPYALL)) != NULL) {
- if (last->inp_flags & IN6P_CONTROLOPTS)
+ if (last->inp_flags & INP_CONTROLOPTS)
ip6_savecontrol(last, n, &opts);
/* strip intermediate headers */
m_adj(n, off);
@@ -2009,7 +2009,7 @@ icmp6_rip6_input(struct mbuf **mp, int off)
}
INP_INFO_RUNLOCK(&V_ripcbinfo);
if (last != NULL) {
- if (last->inp_flags & IN6P_CONTROLOPTS)
+ if (last->inp_flags & INP_CONTROLOPTS)
ip6_savecontrol(last, m, &opts);
/* strip intermediate headers */
m_adj(m, off);
OpenPOWER on IntegriCloud