summaryrefslogtreecommitdiffstats
path: root/sys/net/if_bridge.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2006-07-26 20:56:02 +0000
committerthompsa <thompsa@FreeBSD.org>2006-07-26 20:56:02 +0000
commitae179e02b7cef90ecd35436f3d8f74cb85852115 (patch)
treed838185c3d828b5982492c5486d99fc7764a950b /sys/net/if_bridge.c
parent66c6b22daaa2344c012e764f332a64722ac43caa (diff)
downloadFreeBSD-src-ae179e02b7cef90ecd35436f3d8f74cb85852115.zip
FreeBSD-src-ae179e02b7cef90ecd35436f3d8f74cb85852115.tar.gz
Remove stp variables that are already initialised in bstp_attach().
Diffstat (limited to 'sys/net/if_bridge.c')
-rw-r--r--sys/net/if_bridge.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c
index 65393f8..c71cdc4 100644
--- a/sys/net/if_bridge.c
+++ b/sys/net/if_bridge.c
@@ -461,11 +461,6 @@ bridge_clone_create(struct if_clone *ifc, int unit, caddr_t params)
sc->sc_brtmax = BRIDGE_RTABLE_MAX;
sc->sc_brttimeout = BRIDGE_RTABLE_TIMEOUT;
- sc->sc_stp.bs_bridge_max_age = BSTP_DEFAULT_MAX_AGE;
- sc->sc_stp.bs_bridge_hello_time = BSTP_DEFAULT_HELLO_TIME;
- sc->sc_stp.bs_bridge_forward_delay = BSTP_DEFAULT_FORWARD_DELAY;
- sc->sc_stp.bs_bridge_priority = BSTP_DEFAULT_BRIDGE_PRIORITY;
- sc->sc_stp.bs_hold_time = BSTP_DEFAULT_HOLD_TIME;
/* Initialize our routing table. */
bridge_rtable_init(sc);
OpenPOWER on IntegriCloud