From 42d6229154009f184bc839ea2a1184f8beb6722f Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 28 Aug 2013 16:33:07 +0900 Subject: [PATCH] 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 --- lib/netdev-dummy.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.20.1