aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2001-09-01 08:22:29 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2001-09-01 08:22:29 +0000
commit6a48e7e1d346032c05b45d0543cdeb96b708f7b2 (patch)
tree1ee03634afbca1472b703739e3125592eac3f00c /sys/netgraph
parenta924983eef607ded14fdd7fef26a5cc1c1f85766 (diff)
Notes
Diffstat (limited to 'sys/netgraph')
-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 4734db2fbc6c..abd5b1ba0a34 100644
--- a/sys/netgraph/ng_ether.c
+++ b/sys/netgraph/ng_ether.c
@@ -770,7 +770,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;