svn commit: r249628 - head/sys/net

Oleg Bulyzhin oleg at FreeBSD.org
Thu Apr 18 20:13:33 UTC 2013


Author: oleg
Date: Thu Apr 18 20:13:33 2013
New Revision: 249628
URL: http://svnweb.freebsd.org/changeset/base/249628

Log:
  Recover missing arp_ifinit() call.
  
  MFC after:	2 weeks

Modified:
  head/sys/net/if_vlan.c

Modified: head/sys/net/if_vlan.c
==============================================================================
--- head/sys/net/if_vlan.c	Thu Apr 18 19:52:11 2013	(r249627)
+++ head/sys/net/if_vlan.c	Thu Apr 18 20:13:33 2013	(r249628)
@@ -41,6 +41,7 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
+#include "opt_inet.h"
 #include "opt_vlan.h"
 
 #include <sys/param.h>
@@ -66,6 +67,11 @@ __FBSDID("$FreeBSD$");
 #include <net/if_vlan_var.h>
 #include <net/vnet.h>
 
+#ifdef INET
+#include <netinet/in.h>
+#include <netinet/if_ether.h>
+#endif
+
 #define	VLAN_DEF_HWIDTH	4
 #define	VLAN_IFFLAGS	(IFF_BROADCAST | IFF_MULTICAST)
 


More information about the svn-src-head mailing list