From: Ethan Jackson Date: Mon, 23 Apr 2012 16:25:07 +0000 (-0700) Subject: bridge: Ignore null interfaces as required. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93f331d30ddc474d36fdf6ffd4fe1f58117b1ea2;p=openvswitch bridge: Ignore null interfaces as required. This issue has been around for quite some time. It doesn't really cause problems beyond some spurious warnings. Signed-off-by: Ethan Jackson --- diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 833973a3..496d9b4e 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -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); }