cfm: Log sequence number of incoming CCMs.
authorEthan Jackson <ethan@nicira.com>
Mon, 23 May 2011 23:21:42 +0000 (16:21 -0700)
committerEthan Jackson <ethan@nicira.com>
Tue, 24 May 2011 22:25:53 +0000 (15:25 -0700)
lib/cfm.c

index 00bbdf454767fce499af019828527dcf4248417a..ce48691089394bbb3fed5ee5f9996ff74541f7ad 100644 (file)
--- 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");
     }
 }