Defer sending the bpdu from bstp_update_info as all code paths will test this
flag anyway.
This commit is contained in:
parent
162eef1f09
commit
f935a26d9f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163926
@ -1160,8 +1160,8 @@ bstp_update_info(struct bstp_port *bp)
|
||||
bp->bp_port_htime = bp->bp_desg_htime;
|
||||
bp->bp_infois = BSTP_INFO_MINE;
|
||||
|
||||
/* Set transmit flag but do not immediately send */
|
||||
bp->bp_flags |= BSTP_PORT_NEWINFO;
|
||||
bstp_transmit(bs, bp);
|
||||
}
|
||||
|
||||
/* set tcprop on every port other than the caller */
|
||||
|
Loading…
Reference in New Issue
Block a user