Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);