diff options
author | thompsa <thompsa@FreeBSD.org> | 2006-11-26 20:33:29 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2006-11-26 20:33:29 +0000 |
commit | 280bfd5c685f7e2318b497e42872968be359b828 (patch) | |
tree | 6be1a184175f29a54d18efdf785064e242f96e9a | |
parent | 24bbe4e184b11ffef7331fec4d4856ae47bf78e2 (diff) | |
download | FreeBSD-src-280bfd5c685f7e2318b497e42872968be359b828.zip FreeBSD-src-280bfd5c685f7e2318b497e42872968be359b828.tar.gz |
Initialize the port info, this shouldnt have been removed in r1.28
-rw-r--r-- | sys/net/bridgestp.c | 1 |
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); |