return EAFNOSUPPORT;
}
- return netdev_class->create(options->name, options->type, options->args,
+ return netdev_class->create(netdev_class, options->name, options->args,
netdev_devp);
}
close_all_netdevs(void *aux OVS_UNUSED)
{
struct netdev *netdev, *next;
- LIST_FOR_EACH_SAFE(netdev, next, struct netdev, node, &netdev_list) {
+ LIST_FOR_EACH_SAFE(netdev, next, node, &netdev_list) {
netdev_close(netdev);
}
}