diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2005-12-21 21:51:49 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-03 16:11:00 -0500 |
commit | 4505a3ef720845b5db3ddb440de13cd4800fd508 (patch) | |
tree | 2de3d2fb20d160dc1a04bdb0295882561e4244bc /net/bridge/br_private.h | |
parent | fbe9cc4a87030d5cad5f944ffaef6af7efd119e4 (diff) |
[BRIDGE]: allow setting hardware address of bridge pseudo-dev
Some people are using bridging to hide multiple machines from an ISP
that restricts by MAC address. So in that case allow the bridge mac
address to be set to any of the existing interfaces. I don't want to
allow any arbitrary value and confuse STP.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index bdf95a74d8cd..2c249486476f 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h | |||
@@ -201,6 +201,7 @@ extern void br_stp_disable_bridge(struct net_bridge *br); | |||
201 | extern void br_stp_enable_port(struct net_bridge_port *p); | 201 | extern void br_stp_enable_port(struct net_bridge_port *p); |
202 | extern void br_stp_disable_port(struct net_bridge_port *p); | 202 | extern void br_stp_disable_port(struct net_bridge_port *p); |
203 | extern void br_stp_recalculate_bridge_id(struct net_bridge *br); | 203 | extern void br_stp_recalculate_bridge_id(struct net_bridge *br); |
204 | extern void br_stp_change_bridge_id(struct net_bridge *br, const unsigned char *a); | ||
204 | extern void br_stp_set_bridge_priority(struct net_bridge *br, | 205 | extern void br_stp_set_bridge_priority(struct net_bridge *br, |
205 | u16 newprio); | 206 | u16 newprio); |
206 | extern void br_stp_set_port_priority(struct net_bridge_port *p, | 207 | extern void br_stp_set_port_priority(struct net_bridge_port *p, |