From 93f331d30ddc474d36fdf6ffd4fe1f58117b1ea2 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Mon, 23 Apr 2012 09:25:07 -0700 Subject: [PATCH] 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 --- vswitchd/bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.30.2