Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2018 04:15:42 +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: r341279 - head/sys/contrib/ipfilter/netinet
Message-ID:  <201811300415.wAU4Fglc095477@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Fri Nov 30 04:15:42 2018
New Revision: 341279
URL: https://svnweb.freebsd.org/changeset/base/341279

Log:
  Clean up a redundant non-redefinition of IFNAMSIZ. IFNAMSIZ
  is defined in net/if.h, therefore the condition is never met and
  confusing to those who follow.
  
  MFC after:	1 month

Modified:
  head/sys/contrib/ipfilter/netinet/ip_compat.h

Modified: head/sys/contrib/ipfilter/netinet/ip_compat.h
==============================================================================
--- head/sys/contrib/ipfilter/netinet/ip_compat.h	Fri Nov 30 03:02:49 2018	(r341278)
+++ head/sys/contrib/ipfilter/netinet/ip_compat.h	Fri Nov 30 04:15:42 2018	(r341279)
@@ -1411,10 +1411,6 @@ typedef	struct	tcpiphdr	tcpiphdr_t;
 #undef	ICMP_MAXTYPE
 #define	ICMP_MAXTYPE		18
 
-#ifndef	IFNAMSIZ
-#define	IFNAMSIZ		16
-#endif
-
 #ifndef	LOG_FTP
 # define	LOG_FTP		(11<<3)
 #endif



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