svn commit: r292813 - head/sys/contrib/ipfilter/netinet

Cy Schubert cy at FreeBSD.org
Mon Dec 28 00:42:16 UTC 2015


Author: cy
Date: Mon Dec 28 00:42:15 2015
New Revision: 292813
URL: https://svnweb.freebsd.org/changeset/base/292813

Log:
  Correct __FreeBSD__ check.
  
  MFC after:	3 days

Modified:
  head/sys/contrib/ipfilter/netinet/ip_nat.c

Modified: head/sys/contrib/ipfilter/netinet/ip_nat.c
==============================================================================
--- head/sys/contrib/ipfilter/netinet/ip_nat.c	Mon Dec 28 00:05:31 2015	(r292812)
+++ head/sys/contrib/ipfilter/netinet/ip_nat.c	Mon Dec 28 00:42:15 2015	(r292813)
@@ -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
 


More information about the svn-src-head mailing list