bridge: Ignore null interfaces as required.
[openvswitch] / vswitchd / bridge.c
index 833973a3b452697f5e5d19d3cbce9e51f48122d2..496d9b4e3a102947d364353a553b8e99f63ccc1a 100644 (file)
@@ -2816,7 +2816,7 @@ port_del_ifaces(struct port *port)
     sset_init(&new_ifaces);
     for (i = 0; i < port->cfg->n_interfaces; i++) {
         const char *name = port->cfg->interfaces[i]->name;
-        const char *type = port->cfg->interfaces[i]->name;
+        const char *type = port->cfg->interfaces[i]->type;
         if (strcmp(type, "null")) {
             sset_add(&new_ifaces, name);
         }