]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix up the Bridge Identifier field in the BPDU packet.
authorthompsa <thompsa@FreeBSD.org>
Tue, 28 Feb 2006 00:13:24 +0000 (00:13 +0000)
committerthompsa <thompsa@FreeBSD.org>
Tue, 28 Feb 2006 00:13:24 +0000 (00:13 +0000)
commit6eb8472623ed97762deef51fc42dc7ab41b955da
treeaf236c7dd97eb5d6d759d55a30c7e5c92ac94440
parentf1759f2396baad2564a4025e3f1751e02cf8fab1
Fix up the Bridge Identifier field in the BPDU packet.

 - use the cu_bridge_id rather than the cu_rootid for the bridge address [1]
 - the memcmp return value is not signed so the wrong interface may have been
   selected
 - fix up the calculation of sc_bridge_id

PR: kern/93909 [1]
MFC after: 3 days
sys/net/bridgestp.c