summaryrefslogtreecommitdiffstats
path: root/sys/net/if_vlan.c
diff options
context:
space:
mode:
authoroleg <oleg@FreeBSD.org>2013-04-18 20:13:33 +0000
committeroleg <oleg@FreeBSD.org>2013-04-18 20:13:33 +0000
commit6ff116b3ca1b9d942cee9cae098c3fe44c40844b (patch)
tree0b0afbb08b75c64771f6633a26281378c53186ce /sys/net/if_vlan.c
parente140f34c92ba7da3faaacc903568fea13fbea817 (diff)
downloadFreeBSD-src-6ff116b3ca1b9d942cee9cae098c3fe44c40844b.zip
FreeBSD-src-6ff116b3ca1b9d942cee9cae098c3fe44c40844b.tar.gz
Recover missing arp_ifinit() call.
MFC after: 2 weeks
Diffstat (limited to 'sys/net/if_vlan.c')
-rw-r--r--sys/net/if_vlan.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c
index 70ea3ae..9623e4b 100644
--- a/sys/net/if_vlan.c
+++ b/sys/net/if_vlan.c
@@ -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)
OpenPOWER on IntegriCloud