Commit 7a0a9608 authored by Kusanagi Kouichi's avatar Kusanagi Kouichi Committed by David S. Miller

tun: Fix SIOCSIFHWADDR error.

Set proper operations.
Signed-off-by: default avatarKusanagi Kouichi <slash@ma.neweb.ne.jp>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 36f8b923
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment