From: Ethan Jackson Date: Mon, 23 May 2011 23:21:42 +0000 (-0700) Subject: cfm: Log sequence number of incoming CCMs. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75e61cb96b3a6eeac913a2129988c686494ac7e0;p=openvswitch cfm: Log sequence number of incoming CCMs. --- diff --git a/lib/cfm.c b/lib/cfm.c index 00bbdf45..ce486910 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"); } }