diff options
author | glebius <glebius@FreeBSD.org> | 2012-10-14 15:03:06 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2012-10-14 15:03:06 +0000 |
commit | 68efa562f98219a9a89775c55a62fc7ccad6cf6e (patch) | |
tree | dec6d4542807cb215a4ae64b792060159eceec23 /sys/contrib/ipfilter/netinet | |
parent | da1d910704e0fe25f0af1729fff30ea3f0a2ddc0 (diff) | |
download | FreeBSD-src-68efa562f98219a9a89775c55a62fc7ccad6cf6e.zip FreeBSD-src-68efa562f98219a9a89775c55a62fc7ccad6cf6e.tar.gz |
Fix defines in r241245. We actually don't define FreeBSD.
Reported & tested by: Oleg Ginzburg
Diffstat (limited to 'sys/contrib/ipfilter/netinet')
-rw-r--r-- | sys/contrib/ipfilter/netinet/fil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/contrib/ipfilter/netinet/fil.c b/sys/contrib/ipfilter/netinet/fil.c index a719198..e8e543a 100644 --- a/sys/contrib/ipfilter/netinet/fil.c +++ b/sys/contrib/ipfilter/netinet/fil.c @@ -2513,7 +2513,7 @@ int out; } else #endif { -#if ((defined(OpenBSD) && (OpenBSD >= 200311)) || (defined(FreeBSD) && (__FreeBSD_version >= 1000019))) && defined(_KERNEL) +#if ((defined(OpenBSD) && (OpenBSD >= 200311)) || (__FreeBSD_version >= 1000019)) && defined(_KERNEL) ip->ip_len = ntohs(ip->ip_len); ip->ip_off = ntohs(ip->ip_off); #endif @@ -2777,7 +2777,7 @@ finished: RWLOCK_EXIT(&ipf_global); #ifdef _KERNEL -# if (defined(OpenBSD) && (OpenBSD >= 200311)) || (defined(FreeBSD) && (__FreeBSD_version >= 1000019)) +# if (defined(OpenBSD) && (OpenBSD >= 200311)) || (__FreeBSD_version >= 1000019) if (FR_ISPASS(pass) && (v == 4)) { ip = fin->fin_ip; ip->ip_len = ntohs(ip->ip_len); |