svn commit: r338123 - in stable: 10/sys/contrib/ipfilter/netinet 11/sys/contrib/ipfilter/netinet
Cy Schubert
cy at FreeBSD.org
Tue Aug 21 00:37:50 UTC 2018
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)
More information about the svn-src-all
mailing list