cfm: Implement "demand mode".
[sliver-openvswitch.git] / vswitchd / bridge.c
index e10036c..f067c9d 100644 (file)
@@ -3691,6 +3691,7 @@ iface_configure_cfm(struct iface *iface)
 
     s.extended = smap_get_bool(&iface->cfg->other_config, "cfm_extended",
                                false);
+    s.demand = smap_get_bool(&iface->cfg->other_config, "cfm_demand", false);
 
     opstate_str = smap_get(&iface->cfg->other_config, "cfm_opstate");
     s.opup = !opstate_str || !strcasecmp("up", opstate_str);