cfm: Always log on CCM reception.
authorEthan Jackson <ethan@nicira.com>
Thu, 12 May 2011 20:48:23 +0000 (13:48 -0700)
committerEthan Jackson <ethan@nicira.com>
Fri, 13 May 2011 20:09:27 +0000 (13:09 -0700)
This commit causes the CFM library to log at debug level when valid
CCMs are received.

lib/cfm.c

index b742d22b61f266974e594a4146b22b356503b785..b6239c30af2b6efe4f98ecbe967da065d6c8a72d 100644 (file)
--- a/lib/cfm.c
+++ b/lib/cfm.c
@@ -404,6 +404,9 @@ cfm_process_heartbeat(struct cfm *cfm, const struct ofpbuf *p)
             VLOG_WARN_RL(&rl, "Received unexpected remote MPID %d from MAC "
                          ETH_ADDR_FMT, ccm_mpid, ETH_ADDR_ARGS(eth->eth_src));
         }
+
+        VLOG_DBG("Received CCM (mpid %"PRIu16") (interval %"PRIu8")", ccm_mpid,
+                 ccm_interval);
     }
 }