X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fnetdev-vport.c;fp=lib%2Fnetdev-vport.c;h=620c22e945fbe7478e3215ba467fd5462798262d;hb=0be6fb341f143e43d2cf46b6b2e0cdb840ab2dca;hp=0577bd3b49c7ef2240b02a296b1befcd6ece405a;hpb=c34377e246867b8d81fc6ae7f945186db2e58d04;p=sliver-openvswitch.git diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c index 0577bd3b4..620c22e94 100644 --- a/lib/netdev-vport.c +++ b/lib/netdev-vport.c @@ -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); }