diff options
author | Daniel Lezcano <daniel.lezcano@free.fr> | 2009-02-22 03:04:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-22 03:04:45 -0500 |
commit | ee923623177249cf22c43419ad0e8ff926dd1f58 (patch) | |
tree | e0e3db94cc118d93014fb037f85e2c92c1d10d9d | |
parent | b956d41162b1f2c4b446107e9910e4719cbc75f4 (diff) |
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>
-rw-r--r-- | drivers/net/veth.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/veth.c b/drivers/net/veth.c index 852d0e7c4e62..108bbbeacfb6 100644 --- a/drivers/net/veth.c +++ b/drivers/net/veth.c | |||
@@ -263,10 +263,11 @@ static void veth_dev_free(struct net_device *dev) | |||
263 | } | 263 | } |
264 | 264 | ||
265 | static const struct net_device_ops veth_netdev_ops = { | 265 | static const struct net_device_ops veth_netdev_ops = { |
266 | .ndo_init = veth_dev_init, | 266 | .ndo_init = veth_dev_init, |
267 | .ndo_open = veth_open, | 267 | .ndo_open = veth_open, |
268 | .ndo_start_xmit = veth_xmit, | 268 | .ndo_start_xmit = veth_xmit, |
269 | .ndo_get_stats = veth_get_stats, | 269 | .ndo_get_stats = veth_get_stats, |
270 | .ndo_set_mac_address = eth_mac_addr, | ||
270 | }; | 271 | }; |
271 | 272 | ||
272 | static void veth_setup(struct net_device *dev) | 273 | static void veth_setup(struct net_device *dev) |