git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vswitchd: Respect other_config:stp-enable port setting.
[sliver-openvswitch.git]
/
vswitchd
/
bridge.c
diff --git
a/vswitchd/bridge.c
b/vswitchd/bridge.c
index
0225739
..
53bb7b9
100644
(file)
--- 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", fals
e)) {
+ if (
!smap_get_bool(&port->cfg->other_config, "stp-enable", tru
e)) {
port_s->enable = false;
return;
} else {