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.

MFC after:	2 weeks
This commit is contained in:
cy 2018-08-07 07:12:59 +00:00
parent 19af01a823
commit e106b55ac2

View File

@ -1463,10 +1463,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)