X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=vswitchd%2Fbridge.c;h=940e5e7f5895ec8b49a9a6782b2ae3c9389a7419;hb=b558fd90249b2dff8991d2d2c1c610c719417b15;hp=02257397999643b1584a56c972c68aae1880dae8;hpb=0faed34652f3d1a383510ce18540a743e0fb97f6;p=openvswitch diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 02257397..940e5e7f 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -305,6 +305,7 @@ bridge_init(const char *remote) ovsdb_idl_omit_alert(idl, &ovsrec_interface_col_cfm_fault_status); ovsdb_idl_omit_alert(idl, &ovsrec_interface_col_cfm_remote_mpids); ovsdb_idl_omit_alert(idl, &ovsrec_interface_col_cfm_health); + ovsdb_idl_omit_alert(idl, &ovsrec_interface_col_cfm_remote_opstate); ovsdb_idl_omit_alert(idl, &ovsrec_interface_col_lacp_current); ovsdb_idl_omit(idl, &ovsrec_interface_col_external_ids); @@ -885,7 +886,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 {