veth : add the set_mac_address capability

Fix lost set_mac_address capability.

Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Daniel Lezcano
2009-02-22 00:04:45 -08:00
committed by David S. Miller
parent b956d41162
commit ee92362317

View File

@@ -267,6 +267,7 @@ static const struct net_device_ops veth_netdev_ops = {
.ndo_open = veth_open, .ndo_open = veth_open,
.ndo_start_xmit = veth_xmit, .ndo_start_xmit = veth_xmit,
.ndo_get_stats = veth_get_stats, .ndo_get_stats = veth_get_stats,
.ndo_set_mac_address = eth_mac_addr,
}; };
static void veth_setup(struct net_device *dev) static void veth_setup(struct net_device *dev)