Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2019 20:22:48 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r348310 - head/sys/contrib/ipfilter/netinet
Message-ID:  <201905272022.x4RKMmRF097568@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Mon May 27 20:22:48 2019
New Revision: 348310
URL: https://svnweb.freebsd.org/changeset/base/348310

Log:
  Remove compile-time tests for unsupported versions of FreeBSD.
  
  MFC after:	1 week

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

Modified: head/sys/contrib/ipfilter/netinet/ip_rules.c
==============================================================================
--- head/sys/contrib/ipfilter/netinet/ip_rules.c	Mon May 27 17:33:20 2019	(r348309)
+++ head/sys/contrib/ipfilter/netinet/ip_rules.c	Mon May 27 20:22:48 2019	(r348310)
@@ -30,9 +30,9 @@
 #if !defined(__SVR4) && !defined(__svr4__) && !defined(__hpux)
 # include <sys/mbuf.h>
 #endif
-#if defined(__FreeBSD__) && (__FreeBSD_version > 220000)
+#if defined(__FreeBSD__)
 # include <sys/sockio.h>
-#if defined(__FreeBSD_version) && (__FreeBSD_version >= 800000) && defined(_KERNEL)
+#if defined(_KERNEL)
 #include <net/vnet.h>
 #else
 #define CURVNET_SET(arg)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905272022.x4RKMmRF097568>