svn commit: r342605 - head/contrib/ipfilter

Cy Schubert cy at FreeBSD.org
Sun Dec 30 04:25:49 UTC 2018


Author: cy
Date: Sun Dec 30 04:25:48 2018
New Revision: 342605
URL: https://svnweb.freebsd.org/changeset/base/342605

Log:
  TCP_PAWS_IDLE is does not exist in NetBSD and illumos. In FreeBSD
  TCP_PAWS_IDLE is defined in netinet/tcp_seq.h, however this header
  isn't included explicitly or implicitly at this point therefore
  as far ipfilter is concerned TCP_PAWS_IDLE is not defined. Remove
  the #ifdef and include netinet/tcp.h unconditionally.
  
  MFC after:	1 week

Modified:
  head/contrib/ipfilter/ipf.h

Modified: head/contrib/ipfilter/ipf.h
==============================================================================
--- head/contrib/ipfilter/ipf.h	Sun Dec 30 03:03:53 2018	(r342604)
+++ head/contrib/ipfilter/ipf.h	Sun Dec 30 04:25:48 2018	(r342605)
@@ -47,9 +47,7 @@ struct file;
 #include <netinet/in_systm.h>
 #include <netinet/ip.h>
 #include <netinet/ip_icmp.h>
-#ifndef	TCP_PAWS_IDLE	/* IRIX */
 # include <netinet/tcp.h>
-#endif
 #include <netinet/udp.h>
 
 #include <arpa/inet.h>


More information about the svn-src-head mailing list