[ovs-dev] [cfm_v2 3/9] bridge: Clear fault when CFM is not configured.
Ethan Jackson
ethan at nicira.com
Fri Sep 9 01:59:47 UTC 2011
---
vswitchd/bridge.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index 00157e1..bcb1fc6 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -1269,6 +1269,8 @@ iface_refresh_cfm_stats(struct iface *iface)
if (fault >= 0) {
bool fault_bool = fault;
ovsrec_interface_set_cfm_fault(cfg, &fault_bool, 1);
+ } else {
+ ovsrec_interface_set_cfm_fault(cfg, NULL, 0);
}
}
--
1.7.6.1
More information about the dev
mailing list