aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/cfm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cfm.c b/lib/cfm.c
index 8acbd093..f59c4f3d 100644
--- a/lib/cfm.c
+++ b/lib/cfm.c
@@ -375,6 +375,8 @@ cfm_compose_ccm(struct cfm *cfm, struct ofpbuf *packet,
if (cfm->ccm_interval == 0) {
assert(cfm->extended);
ccm->interval_ms_x = htons(cfm->ccm_interval_ms);
+ } else {
+ ccm->interval_ms_x = htons(0);
}
if (hmap_is_empty(&cfm->remote_mps)) {