X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vswitchd%2Fbridge.c;h=53bb7b90517a0d4fbee3b235fdc3a46ef7e3870e;hb=079b5942276a04b2b18f1ec5bd2e07170e3ab9bd;hp=02257397999643b1584a56c972c68aae1880dae8;hpb=1688c479753fa62843a15a5f0b7dc8dd9f6ead28;p=sliver-openvswitch.git diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 022573979..53bb7b905 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -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 {