From 0f0d2ae5dada602d17a700dfb6e261bafa62dd0b Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Tue, 6 Sep 2011 17:13:24 -0700 Subject: [PATCH] bridge: Clear fault when CFM is not configured. --- vswitchd/bridge.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 99fa7617..9783cc96 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); } } -- 2.30.2