summaryrefslogtreecommitdiffstats
path: root/sys/net/bridgestp.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2006-11-26 20:33:29 +0000
committerthompsa <thompsa@FreeBSD.org>2006-11-26 20:33:29 +0000
commit280bfd5c685f7e2318b497e42872968be359b828 (patch)
tree6be1a184175f29a54d18efdf785064e242f96e9a /sys/net/bridgestp.c
parent24bbe4e184b11ffef7331fec4d4856ae47bf78e2 (diff)
downloadFreeBSD-src-280bfd5c685f7e2318b497e42872968be359b828.zip
FreeBSD-src-280bfd5c685f7e2318b497e42872968be359b828.tar.gz
Initialize the port info, this shouldnt have been removed in r1.28
Diffstat (limited to 'sys/net/bridgestp.c')
-rw-r--r--sys/net/bridgestp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/bridgestp.c b/sys/net/bridgestp.c
index 7430498..eff97da 100644
--- a/sys/net/bridgestp.c
+++ b/sys/net/bridgestp.c
@@ -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);
OpenPOWER on IntegriCloud