diff options
| author | Nick Sayer <nsayer@FreeBSD.org> | 2000-07-29 02:00:12 +0000 |
|---|---|---|
| committer | Nick Sayer <nsayer@FreeBSD.org> | 2000-07-29 02:00:12 +0000 |
| commit | 82902fa3d86ea4768ffb2851bb2f6308cddf3db3 (patch) | |
| tree | 095a02040eb4e00c789cb8918265c2b820d44be1 /sys/net/if_ethersubr.c | |
| parent | 73c9daf94f75d118ae8c28cf4489dd00b526b180 (diff) | |
Notes
Diffstat (limited to 'sys/net/if_ethersubr.c')
| -rw-r--r-- | sys/net/if_ethersubr.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index d7c410b0c814..e8cfa0d63452 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -671,6 +671,9 @@ ether_ifattach(ifp, bpf) bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); if (ng_ether_attach_p != NULL) (*ng_ether_attach_p)(ifp); +#ifdef BRIDGE + bdgtakeifaces(); +#endif } /* @@ -686,6 +689,9 @@ ether_ifdetach(ifp, bpf) if (bpf) bpfdetach(ifp); if_detach(ifp); +#ifdef BRIDGE + bdgtakeifaces(); +#endif } SYSCTL_DECL(_net_link); |
