[ovs-dev] [cfm 4/4] cfm: Always log on CCM reception.

Ethan Jackson ethan at nicira.com
Thu May 12 21:44:13 UTC 2011


This commit causes the CFM library to log at debug level when valid
CCMs are received.
---
 lib/cfm.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/cfm.c b/lib/cfm.c
index 7d80140..e01c108 100644
--- a/lib/cfm.c
+++ b/lib/cfm.c
@@ -397,6 +397,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);
     }
 }
 
-- 
1.7.4.4




More information about the dev mailing list