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/10/sys/contrib/ipfilter/netinet/ip_compat.h
Directory Properties:
  stable/10/   (props changed)

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

Modified: stable/10/sys/contrib/ipfilter/netinet/ip_compat.h
==============================================================================
--- stable/10/sys/contrib/ipfilter/netinet/ip_compat.h  Mon Aug 20 22:23:59 
2018        (r338122)
+++ stable/10/sys/contrib/ipfilter/netinet/ip_compat.h  Tue Aug 21 00:37:48 
2018        (r338123)
@@ -1448,10 +1448,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)
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to