[ovs-dev] [PATCH 3/3] cfm: Log sequence number of incoming CCMs.

Ethan Jackson ethan at nicira.com
Mon May 23 23:27:49 UTC 2011


---
 lib/cfm.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/cfm.c b/lib/cfm.c
index 00bbdf4..ce48691 100644
--- a/lib/cfm.c
+++ b/lib/cfm.c
@@ -437,9 +437,9 @@ cfm_process_heartbeat(struct cfm *cfm, const struct ofpbuf *p)
                          ETH_ADDR_ARGS(eth->eth_src));
         }
 
-        VLOG_DBG("%s: Received CCM (mpid %"PRIu16") (interval %"PRIu8")"
-                 " (RDI %s)", cfm->name, ccm_mpid, ccm_interval,
-                 ccm_rdi ? "true" : "false");
+        VLOG_DBG("%s: Received CCM (seq %"PRIu32") (mpid %"PRIu16")"
+                 " (interval %"PRIu8") (RDI %s)", cfm->name, ntohl(ccm->seq),
+                 ccm_mpid, ccm_interval, ccm_rdi ? "true" : "false");
     }
 }
 
-- 
1.7.4.4




More information about the dev mailing list