summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2015-12-28 00:42:15 +0000
committercy <cy@FreeBSD.org>2015-12-28 00:42:15 +0000
commit35216e4fb8b667a5a44dc3ff7b6ad9fff30b52e3 (patch)
treebd2235c185c84aacf507b8e0467b6009b848d4b1 /sys/contrib
parent18e9d2c80e43af58d803c2bc25cfad3f833579db (diff)
downloadFreeBSD-src-35216e4fb8b667a5a44dc3ff7b6ad9fff30b52e3.zip
FreeBSD-src-35216e4fb8b667a5a44dc3ff7b6ad9fff30b52e3.tar.gz
Correct __FreeBSD__ check.
MFC after: 3 days
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/ipfilter/netinet/ip_nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_nat.c b/sys/contrib/ipfilter/netinet/ip_nat.c
index 8372e08..5d0e972 100644
--- a/sys/contrib/ipfilter/netinet/ip_nat.c
+++ b/sys/contrib/ipfilter/netinet/ip_nat.c
@@ -5235,7 +5235,7 @@ ipf_nat_out(fin, nat, natadd, nflags)
uh->uh_ulen += fin->fin_plen;
uh->uh_ulen = htons(uh->uh_ulen);
#if !defined(_KERNEL) || defined(MENTAT) || defined(__sgi) || \
- defined(linux) || defined(BRIDGE_IPF) || defined(__FreeBSD)
+ defined(linux) || defined(BRIDGE_IPF) || defined(__FreeBSD__)
ipf_fix_outcksum(0, &ip->ip_sum, sumd, 0);
#endif
OpenPOWER on IntegriCloud