summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2008-06-13 19:08:20 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2008-06-13 19:08:20 +0000
commit611deb6fc7ad982974b2771342e24b2d0de47e74 (patch)
tree3961e6c9eae234beeda313e4784b0cd102c328ee /usr.bin
parent649bb1135c6d72e32fb8393d941c6572ee5db673 (diff)
we used to use the lowest (so it is deterministic) mac address in the
system for the bridge ID for stp. That worksfine unless you have two bridges in the system that talkto the same neighboring systems (switches), because the two bridges on the openbsd system would have the same ID. fix by only looking at interfaces part of the bridge and using the lowest mac address of these. works fine because stpcan only be enabled on IFT_ETHER interfaces so there is always at least one and we re-evaluate every time an interface is added or deleted from the bridge. diff was rotting in my tree for at least a year, I have no idea what triggered it really. ok reyk mk djm
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions