Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2018 04:25:48 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r342605 - head/contrib/ipfilter
Message-ID:  <201812300425.wBU4PmgB089024@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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