Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2019 22:25:47 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r348819 - stable/11/sys/contrib/ipfilter/netinet
Message-ID:  <201906082225.x58MPlf4093407@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Sat Jun  8 22:25:47 2019
New Revision: 348819
URL: https://svnweb.freebsd.org/changeset/base/348819

Log:
  MFC r348310:
  
  Remove compile-time tests for unsupported versions of FreeBSD.
  
  Approved by:	re (gjb@)

Modified:
  stable/11/sys/contrib/ipfilter/netinet/ip_rules.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/contrib/ipfilter/netinet/ip_rules.c
==============================================================================
--- stable/11/sys/contrib/ipfilter/netinet/ip_rules.c	Sat Jun  8 21:36:22 2019	(r348818)
+++ stable/11/sys/contrib/ipfilter/netinet/ip_rules.c	Sat Jun  8 22:25:47 2019	(r348819)
@@ -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?201906082225.x58MPlf4093407>