Skip to content

Commit

Permalink
rstp-state-machines: Fix updt_roles_tree().
Browse files Browse the repository at this point in the history
If the DesignatedBridgeID Bridge Address component is equal to that
component of the Bridge's own bridge priority vector skip to the next
port.

Signed-off-by: Daniele Venturino <[email protected]>
Acked-by: Jarno Rajahalme <[email protected]>
  • Loading branch information
Daniele Venturino authored and Jarno Rajahalme committed Nov 14, 2014
1 parent 75735c8 commit 55f8993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rstp-state-machines.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ updt_roles_tree__(struct rstp *r)

if ((candidate_vector.designated_bridge_id & 0xffffffffffffULL) ==
(r->bridge_priority.designated_bridge_id & 0xffffffffffffULL)) {
break;
continue;
}
if (compare_rstp_priority_vectors(&candidate_vector,
&best_vector) == SUPERIOR) {
Expand Down

0 comments on commit 55f8993

Please sign in to comment.