diff options
author | Kusanagi Kouichi <slash@ma.neweb.ne.jp> | 2008-12-29 18:23:28 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-29 18:23:28 -0800 |
commit | 7a0a9608e4459afdf2e4a7831c1cbeb41353adf6 (patch) | |
tree | 4f67fafa9ab6532dedbce1c7830a450a5e274bb0 | |
parent | 36f8b9238373751b684650871fd161546b10116c (diff) | |
download | linux-3.10-7a0a9608e4459afdf2e4a7831c1cbeb41353adf6.tar.gz linux-3.10-7a0a9608e4459afdf2e4a7831c1cbeb41353adf6.tar.bz2 linux-3.10-7a0a9608e4459afdf2e4a7831c1cbeb41353adf6.zip |
tun: Fix SIOCSIFHWADDR error.
Set proper operations.
Signed-off-by: Kusanagi Kouichi <slash@ma.neweb.ne.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 666c1d98cda..69f9a0ec764 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -343,7 +343,7 @@ static void tun_net_init(struct net_device *dev) break; case TUN_TAP_DEV: - dev->netdev_ops = &tun_netdev_ops; + dev->netdev_ops = &tap_netdev_ops; /* Ethernet TAP Device */ ether_setup(dev); |