diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-11-26 17:34:44 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-11-26 17:34:44 +0000 |
commit | e80a255fae46ffcd110b8eece07ac7e15acdf405 (patch) | |
tree | 8f0165f45d2fb2ce00ed10a42aee4f436ec6cfdb | |
parent | ff0d99d24d6741a18ffbcbdd6ea1f99d8f711687 (diff) |
Call the enable function, don't set the variable directly.
-rw-r--r-- | sys/net/bridgestp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bridgestp.c b/sys/net/bridgestp.c index e0940639ec3..09a82a71406 100644 --- a/sys/net/bridgestp.c +++ b/sys/net/bridgestp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bridgestp.c,v 1.9 2002/09/24 19:52:20 jason Exp $ */ +/* $OpenBSD: bridgestp.c,v 1.10 2002/11/26 17:34:43 jason Exp $ */ /* * Copyright (c) 2000 Jason L. Wright (jason@thought.net) @@ -956,7 +956,7 @@ bstp_initialize_port(sc, bif) bstp_set_port_state(bif, BSTP_IFSTATE_BLOCKING); bif->bif_topology_change_acknowledge = 0; bif->bif_config_pending = 0; - bif->bif_change_detection_enabled = 1; + bstp_enable_change_detection(bif); bstp_timer_stop(&bif->bif_message_age_timer); bstp_timer_stop(&bif->bif_forward_delay_timer); bstp_timer_stop(&bif->bif_hold_timer); |