summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2010-01-08 15:44:49 +0000
committertrasz <trasz@FreeBSD.org>2010-01-08 15:44:49 +0000
commit2cff5b762aae21fa44026635bf30126306b3e5e6 (patch)
tree2485229b6cf12010c53deea4e479915bbdbe4933 /sys/netinet6
parent6f35777c44e9870d9e0fa47019fd5d3e79f04f03 (diff)
downloadFreeBSD-src-2cff5b762aae21fa44026635bf30126306b3e5e6.zip
FreeBSD-src-2cff5b762aae21fa44026635bf30126306b3e5e6.tar.gz
Replace several instances of 'if (!a & b)' with 'if (!(a &b))' in order
to silence newer GCC versions.
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/ip6_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index fc26cff..c244f37 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -1406,7 +1406,7 @@ ip6_savecontrol(struct inpcb *in6p, struct mbuf *m, struct mbuf **mp)
mp = &(*mp)->m_next;
break;
case IPPROTO_ROUTING:
- if (!in6p->inp_flags & IN6P_RTHDR)
+ if (!(in6p->inp_flags & IN6P_RTHDR))
break;
*mp = sbcreatecontrol((caddr_t)ip6e, elen,
OpenPOWER on IntegriCloud