aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2007-06-22 23:28:33 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2007-06-22 23:28:33 +0000
commite67b204a4a792c4c48b609f133e00f2c9c93c579 (patch)
tree9f1cf1e98ee23f09e8c5ccc272ccc1a6c725838f
parenta964e8de4cb4621dcdac786e757851efde5c6f6f (diff)
Notes
-rw-r--r--sys/net/bridgestp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bridgestp.c b/sys/net/bridgestp.c
index 9472149af772..7d3d3c737e7e 100644
--- a/sys/net/bridgestp.c
+++ b/sys/net/bridgestp.c
@@ -916,8 +916,8 @@ bstp_update_state(struct bstp_state *bs, struct bstp_port *bp)
if (!bs->bs_allsynced) {
synced = 1;
LIST_FOREACH(bp2, &bs->bs_bplist, bp_next) {
- if (!(bp->bp_synced ||
- bp->bp_role == BSTP_ROLE_ROOT)) {
+ if (!(bp2->bp_synced ||
+ bp2->bp_role == BSTP_ROLE_ROOT)) {
synced = 0;
break;
}