svn commit: r283653 - projects/ifnet/sys/contrib/ipfilter/netinet

Gleb Smirnoff glebius at FreeBSD.org
Thu May 28 16:37:29 UTC 2015


Author: glebius
Date: Thu May 28 16:37:28 2015
New Revision: 283653
URL: https://svnweb.freebsd.org/changeset/base/283653

Log:
  Now with r281192 taken from head, we don't need to include if_var.h in
  when compling ipfilter userland part.  Finally, projects/ifnet world
  is buildable.
  
  Sponsored by:	Netflix
  Sponsored by:	Nginx, Inc.

Modified:
  projects/ifnet/sys/contrib/ipfilter/netinet/ip_compat.h

Modified: projects/ifnet/sys/contrib/ipfilter/netinet/ip_compat.h
==============================================================================
--- projects/ifnet/sys/contrib/ipfilter/netinet/ip_compat.h	Thu May 28 16:18:41 2015	(r283652)
+++ projects/ifnet/sys/contrib/ipfilter/netinet/ip_compat.h	Thu May 28 16:37:28 2015	(r283653)
@@ -210,7 +210,6 @@ struct  ether_addr {
 typedef struct mbuf mb_t;
 
 #else	/* !_KERNEL */
-#ifndef _NET_IF_VAR_H_
 /*
  * Userland emulation of struct ifnet.
  */
@@ -222,7 +221,6 @@ struct ifnet {
 	int	(*if_output)(struct ifnet *, struct mbuf *,
 	    const struct sockaddr *, struct route *);
 };
-#endif /* _NET_IF_VAR_H_ */
 #endif /* _KERNEL */
 
 #  define	IFNAME(x)	((struct ifnet *)x)->if_xname


More information about the svn-src-projects mailing list