diff options
author | 2016-03-09 14:05:47 +0200 | |
---|---|---|
committer | 2016-03-09 14:05:47 +0200 | |
commit | 30237fb4d1eccb2e2adb35408c4882d9750fbfef (patch) | |
tree | c5c89c28f597bac2ca7d8839f56b1bc4960db4da /src/flow_stat.cpp | |
parent | 2258ea303c6c3573998dea7b9d347d46873018db (diff) | |
parent | 22bed39abcdf20c31d685794004ca232308dd6a8 (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src/flow_stat.cpp')
-rw-r--r-- | src/flow_stat.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/flow_stat.cpp b/src/flow_stat.cpp index 266acb3f..57aa29c5 100644 --- a/src/flow_stat.cpp +++ b/src/flow_stat.cpp @@ -653,7 +653,8 @@ bool CFlowStatRuleMgr::dump_json(std::string & json, bool force_sync) { p_user_id->set_need_to_send_rx(port); } } else { - std::cerr << __METHOD_NAME__ << i << ":Could not count " << rx_stats[i] << " rx packets, because no mapping was found" << std::endl; + std::cerr << __METHOD_NAME__ << i << ":Could not count " << rx_stats[i] << " rx packets, on port " + << (uint16_t)port << ", because no mapping was found." << std::endl; } } if (tx_stats[i].get_pkts() != 0) { @@ -665,7 +666,8 @@ bool CFlowStatRuleMgr::dump_json(std::string & json, bool force_sync) { p_user_id->set_need_to_send_tx(port); } } else { - std::cerr << __METHOD_NAME__ << i << ":Could not count tx " << tx_pkts << " because no mapping was found" << std::endl; + std::cerr << __METHOD_NAME__ << i << ":Could not count " << tx_pkts << " tx packets on port " + << (uint16_t)port << ", because no mapping was found." << std::endl; } } } |