[ovs-dev] [PATCH] bridge: Ignore null interfaces as required.
Ethan Jackson
ethan at nicira.com
Mon Apr 23 16:26:40 UTC 2012
This issue has been around for quite some time. It doesn't really
cause problems beyond some spurious warnings.
Signed-off-by: Ethan Jackson <ethan at nicira.com>
---
vswitchd/bridge.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index 077d9ee..037a4cb 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);
}
--
1.7.9.6
More information about the dev
mailing list