summaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_ether.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_ether.c')
-rw-r--r--sys/netgraph/ng_ether.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netgraph/ng_ether.c b/sys/netgraph/ng_ether.c
index 2c8735baa876..18faa65eb98d 100644
--- a/sys/netgraph/ng_ether.c
+++ b/sys/netgraph/ng_ether.c
@@ -798,7 +798,8 @@ ng_ether_mod_event(module_t mod, int event, void *data)
/* Create nodes for any already-existing Ethernet interfaces */
TAILQ_FOREACH(ifp, &ifnet, if_link) {
- if (ifp->if_type == IFT_ETHER)
+ if (ifp->if_type == IFT_ETHER
+ || ifp->if_type == IFT_L2VLAN)
ng_ether_attach(ifp);
}
break;