diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2003-12-17 13:08:42 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2003-12-17 13:08:42 +0000 |
commit | 62f274ff8e7cabb788692148e9532c8b6d2d3a04 (patch) | |
tree | 7e2d586efe764a21140ebfe2ffe46bcb54b02994 /sys/net/if_bridge.c | |
parent | 4c70f3229bf01d2d88da9b5f8b37a176adcf8de7 (diff) |
start spanning tree on ifconfig up; from Marco Pfatschbacher; ok jason@
Diffstat (limited to 'sys/net/if_bridge.c')
-rw-r--r-- | sys/net/if_bridge.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index 0baaf5d8a44..f8037809a10 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bridge.c,v 1.128 2003/12/16 21:35:28 henning Exp $ */ +/* $OpenBSD: if_bridge.c,v 1.129 2003/12/17 13:08:41 markus Exp $ */ /* * Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net) @@ -878,6 +878,7 @@ bridge_init(struct bridge_softc *sc) sc->sc_hashkey = arc4random(); } ifp->if_flags |= IFF_RUNNING; + bstp_initialization(sc); if (sc->sc_brttimeout != 0) timeout_add(&sc->sc_brtimeout, sc->sc_brttimeout * hz); |