[Bugme-new] [Bug 4158] New: bridge always takes the mac i don't want
bugme-daemon at osdl.org
bugme-daemon at osdl.org
Thu Feb 3 16:59:05 PST 2005
http://bugme.osdl.org/show_bug.cgi?id=4158
Summary: bridge always takes the mac i don't want
Kernel Version: 2.4+
Status: NEW
Severity: normal
Owner: acme at conectiva.com.br
Submitter: kernel26 at dush.student.utwente.nl
Problem Description:
in some situations your bridge needs to take the mac address of one certain
interface. in my case the isp checks my mac address. currently it is not
possible to choose which mac the bridge takes.
i changed the code somewhat to make it possible to choose the mac of the bridge
by changing the order in which you add interfaces to the bridge. please
consider changing this in the kernel.
code: net/bridge/br_stp_if.c:156
if (addr == br_mac_zero ||
memcmp(p->dev->dev_addr, addr, ETH_ALEN) < 0)
addr = p->dev->dev_addr;
please change it to:
if (addr == br_mac_zero)
addr = p->dev->dev_addr;
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Bugme-new
mailing list