Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2018 00:37:49 +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: r338123 - in stable: 10/sys/contrib/ipfilter/netinet 11/sys/contrib/ipfilter/netinet
Message-ID:  <201808210037.w7L0bn2S036119@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Tue Aug 21 00:37:48 2018
New Revision: 338123
URL: https://svnweb.freebsd.org/changeset/base/338123

Log:
  MFC r337410:
  
  Remove redundant and incorrect default definition of AF_INET6. AF_INET6
  is defined in sys/socket.h where it's defined as 28.
  
  A bit of trivia: On NetBSD AF_INET6 is defined as 24. On Solaris it is
  defined as 26. This is probably why Darren defaulted to 26, because
  ipfilter was originally written for SunOS 4 and Solaris many moons ago.

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

Changes in other areas also in this revision:
Modified:
  stable/10/sys/contrib/ipfilter/netinet/ip_compat.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/11/sys/contrib/ipfilter/netinet/ip_compat.h
==============================================================================
--- stable/11/sys/contrib/ipfilter/netinet/ip_compat.h	Mon Aug 20 22:23:59 2018	(r338122)
+++ stable/11/sys/contrib/ipfilter/netinet/ip_compat.h	Tue Aug 21 00:37:48 2018	(r338123)
@@ -1462,10 +1462,6 @@ typedef	struct	tcpiphdr	tcpiphdr_t;
 # define	DPRINT(x)
 #endif
 
-#ifndef	AF_INET6
-# define	AF_INET6	26
-#endif
-
 #ifdef DTRACE_PROBE
 # ifdef _KERNEL
 #  define	DT(_n)			DTRACE_PROBE(_n)



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