2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-29 13:27:59 +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:
Ben Pfaff 2011-10-31 10:54:30 -07:00
parent 428d83e6c4
commit 52fa1bcf5f
2 changed files with 3 additions and 1 deletions

View File

@ -75,6 +75,7 @@ Hector Oron hector.oron@gmail.com
Henrik Amren henrik@nicira.com Henrik Amren henrik@nicira.com
Jad Naous jnaous@gmail.com Jad Naous jnaous@gmail.com
Jan Medved jmedved@juniper.net Jan Medved jmedved@juniper.net
Janis Hamme janis.hamme@student.kit.edu
Jed Daniels openvswitch@jeddaniels.com Jed Daniels openvswitch@jeddaniels.com
Jeongkeun Lee jklee@hp.com Jeongkeun Lee jklee@hp.com
Joan Cirer joan@ev0.net Joan Cirer joan@ev0.net

View File

@ -131,7 +131,8 @@ netdev_vport_get_vport_type(const struct netdev *netdev)
return (is_vport_class(class) ? vport_class_cast(class)->type return (is_vport_class(class) ? vport_class_cast(class)->type
: class == &netdev_internal_class ? OVS_VPORT_TYPE_INTERNAL : 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); : OVS_VPORT_TYPE_UNSPEC);
} }