summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/raw_ip6.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/raw_ip6.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/raw_ip6.c')
-rw-r--r--sys/netinet6/raw_ip6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c
index 0a0f1cd..d342bc8 100644
--- a/sys/netinet6/raw_ip6.c
+++ b/sys/netinet6/raw_ip6.c
@@ -207,7 +207,7 @@ rip6_input(struct mbuf **mp, int *offp, int proto)
} else
#endif /* IPSEC */
if (n) {
- if (last->inp_flags & IN6P_CONTROLOPTS ||
+ if (last->inp_flags & INP_CONTROLOPTS ||
last->inp_socket->so_options & SO_TIMESTAMP)
ip6_savecontrol(last, n, &opts);
/* strip intermediate headers */
@@ -241,7 +241,7 @@ rip6_input(struct mbuf **mp, int *offp, int proto)
} else
#endif /* IPSEC */
if (last != NULL) {
- if (last->inp_flags & IN6P_CONTROLOPTS ||
+ if (last->inp_flags & INP_CONTROLOPTS ||
last->inp_socket->so_options & SO_TIMESTAMP)
ip6_savecontrol(last, m, &opts);
/* Strip intermediate headers. */
OpenPOWER on IntegriCloud