Initialize the port info, this shouldnt have been removed in r1.28
This commit is contained in:
parent
00603ea268
commit
ebd4a4ba14
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164638
@ -2125,6 +2125,7 @@ bstp_create(struct bstp_state *bs, struct bstp_port *bp, struct ifnet *ifp)
|
||||
TASK_INIT(&bp->bp_rtagetask, 0, bstp_notify_rtage, bp);
|
||||
|
||||
/* Init state */
|
||||
bp->bp_infois = BSTP_INFO_DISABLED;
|
||||
bp->bp_flags = BSTP_PORT_AUTOEDGE;
|
||||
bstp_set_port_state(bp, BSTP_IFSTATE_DISCARDING);
|
||||
bstp_set_port_proto(bp, bs->bs_protover);
|
||||
|
Loading…
Reference in New Issue
Block a user