diff options
author | Ethan Jackson <ethan@nicira.com> | 2012-04-23 09:25:07 -0700 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2012-04-23 09:30:33 -0700 |
commit | 93f331d30ddc474d36fdf6ffd4fe1f58117b1ea2 (patch) | |
tree | a1dae4cbcdd80a33912244a272e37d3692ecf44d /vswitchd | |
parent | 5167b8709e5131887c4135e8074b76786579eaa9 (diff) |
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 <ethan@nicira.com>
Diffstat (limited to 'vswitchd')
-rw-r--r-- | vswitchd/bridge.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |