diff options
author | Andrew Thompson <thompsa@FreeBSD.org> | 2006-07-26 20:56:02 +0000 |
---|---|---|
committer | Andrew Thompson <thompsa@FreeBSD.org> | 2006-07-26 20:56:02 +0000 |
commit | 7d4a207cba8924a77a5ee4675eaa06d502f60a9c (patch) | |
tree | d838185c3d828b5982492c5486d99fc7764a950b /sys/net | |
parent | b78ee6d0ff77f16cf3634928807ffe3f7dd3ce7a (diff) | |
download | src-7d4a207cba8924a77a5ee4675eaa06d502f60a9c.tar.gz src-7d4a207cba8924a77a5ee4675eaa06d502f60a9c.zip |
Remove stp variables that are already initialised in bstp_attach().
Notes
Notes:
svn path=/head/; revision=160726
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_bridge.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index 65393f81492f..c71cdc485ec3 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); |