summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2001-08-30 19:09:10 +0000
committerArchie Cobbs <archie@FreeBSD.org>2001-08-30 19:09:10 +0000
commitcf2010b81fb8a7fc6ce0a9214c3cd6df238f142f (patch)
tree46656cfc40e2d2e1a461adf308ce80e1a4772a2b
parent356861db03c330c7abfc710eb6ce342ca6c71557 (diff)
Notes
-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;