svn commit: r341279 - head/sys/contrib/ipfilter/netinet

Cy Schubert cy at FreeBSD.org
Fri Nov 30 04:15:43 UTC 2018


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


More information about the svn-src-all mailing list