projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f3fe84
)
bridge: Clear fault when CFM is not configured.
author
Ethan Jackson
<ethan@nicira.com>
Wed, 7 Sep 2011 00:13:24 +0000
(17:13 -0700)
committer
Ethan Jackson
<ethan@nicira.com>
Fri, 9 Sep 2011 21:11:14 +0000
(14:11 -0700)
vswitchd/bridge.c
patch
|
blob
|
history
diff --git
a/vswitchd/bridge.c
b/vswitchd/bridge.c
index 99fa76176e5863c30acd7659bb3412027cc7e206..9783cc96f2fe98f040da8294fea1dea945a209ce 100644
(file)
--- 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);
}
}