mirror of
https://github.com/openvswitch/ovs
synced 2025-10-21 14:49:41 +00:00
netdev-vport: Again allow "tap" devices to be added to bridges.
I did not check that tap devices otherwise work. This at least allows them to be part of a bridge again. Reported-by: Janis Hamme <janis.hamme@student.kit.edu>
This commit is contained in:
@@ -131,7 +131,8 @@ netdev_vport_get_vport_type(const struct netdev *netdev)
|
||||
|
||||
return (is_vport_class(class) ? vport_class_cast(class)->type
|
||||
: class == &netdev_internal_class ? OVS_VPORT_TYPE_INTERNAL
|
||||
: class == &netdev_linux_class ? OVS_VPORT_TYPE_NETDEV
|
||||
: (class == &netdev_linux_class ||
|
||||
class == &netdev_tap_class) ? OVS_VPORT_TYPE_NETDEV
|
||||
: OVS_VPORT_TYPE_UNSPEC);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user