|
@@ -484,7 +484,7 @@ static void reg_vif_setup(struct net_device *dev)
|
|
|
dev->type = ARPHRD_PIMREG;
|
|
dev->type = ARPHRD_PIMREG;
|
|
|
dev->mtu = ETH_DATA_LEN - sizeof(struct iphdr) - 8;
|
|
dev->mtu = ETH_DATA_LEN - sizeof(struct iphdr) - 8;
|
|
|
dev->flags = IFF_NOARP;
|
|
dev->flags = IFF_NOARP;
|
|
|
- dev->netdev_ops = ®_vif_netdev_ops,
|
|
|
|
|
|
|
+ dev->netdev_ops = ®_vif_netdev_ops;
|
|
|
dev->destructor = free_netdev;
|
|
dev->destructor = free_netdev;
|
|
|
dev->features |= NETIF_F_NETNS_LOCAL;
|
|
dev->features |= NETIF_F_NETNS_LOCAL;
|
|
|
}
|
|
}
|