netdev-dummy: Stop overriding patch vport type with dummy.
[sliver-openvswitch.git] / lib / netdev-dummy.c
index 16a6b0b..8f3deb2 100644 (file)
@@ -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;