mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
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>
This commit is contained in:
parent
36f8b92383
commit
7a0a9608e4
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ static void tun_net_init(struct net_device *dev)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TUN_TAP_DEV:
|
case TUN_TAP_DEV:
|
||||||
dev->netdev_ops = &tun_netdev_ops;
|
dev->netdev_ops = &tap_netdev_ops;
|
||||||
/* Ethernet TAP Device */
|
/* Ethernet TAP Device */
|
||||||
ether_setup(dev);
|
ether_setup(dev);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue