From: YAMAMOTO Takashi Date: Wed, 28 Aug 2013 07:33:07 +0000 (+0900) Subject: netdev-dummy: Stop overriding patch vport type with dummy. X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=42d6229154009f184bc839ea2a1184f8beb6722f;p=sliver-openvswitch.git netdev-dummy: Stop overriding patch vport type with dummy. There's little point to override patch ports, which is implmeneted purely in our userland process these days, with a dummy implementation. This allows testing patch ports in "make sandbox" environment. Signed-off-by: YAMAMOTO Takashi Signed-off-by: Ben Pfaff --- diff --git a/lib/netdev-dummy.c b/lib/netdev-dummy.c index 16a6b0b5a..8f3deb2fd 100644 --- a/lib/netdev-dummy.c +++ b/lib/netdev-dummy.c @@ -912,6 +912,9 @@ netdev_dummy_register(bool override) sset_init(&types); netdev_enumerate_types(&types); SSET_FOR_EACH (type, &types) { + if (!strcmp(type, "patch")) { + continue; + } if (!netdev_unregister_provider(type)) { struct netdev_class *class; int error;