vswitchd: Respect other_config:stp-enable port setting.
[openvswitch] / vswitchd / bridge.c
index 02257397999643b1584a56c972c68aae1880dae8..53bb7b90517a0d4fbee3b235fdc3a46ef7e3870e 100644 (file)
@@ -885,7 +885,7 @@ port_configure_stp(const struct ofproto *ofproto, struct port *port,
     const char *config_str;
     struct iface *iface;
 
-    if (smap_get_bool(&port->cfg->other_config, "stp-enable", false)) {
+    if (!smap_get_bool(&port->cfg->other_config, "stp-enable", true)) {
         port_s->enable = false;
         return;
     } else {