diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2003-10-02 20:55:58 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2003-10-02 20:55:58 +0000 |
commit | 1cf501d6f87b43d3b20cdc1df1942dccff3796bd (patch) | |
tree | 888348323662d1fceb365259a7bc1b95e8e8d3f1 /net-mgmt/cflowd/files/patch-classes::src::CflowdCisco.cc | |
parent | . s:NO_CDROM:RESTRICTED: as neither the distfiles nor the packages should (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_9_0'.release/4.9.0
Notes
Notes:
svn path=/head/; revision=90063
svn path=/tags/RELEASE_4_9_0/; revision=90064; tag=release/4.9.0
Diffstat (limited to 'net-mgmt/cflowd/files/patch-classes::src::CflowdCisco.cc')
-rw-r--r-- | net-mgmt/cflowd/files/patch-classes::src::CflowdCisco.cc | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/net-mgmt/cflowd/files/patch-classes::src::CflowdCisco.cc b/net-mgmt/cflowd/files/patch-classes::src::CflowdCisco.cc deleted file mode 100644 index ea5de5ca0d1f..000000000000 --- a/net-mgmt/cflowd/files/patch-classes::src::CflowdCisco.cc +++ /dev/null @@ -1,31 +0,0 @@ ---- classes/src/CflowdCisco.cc.orig Fri Aug 29 21:02:38 2003 -+++ classes/src/CflowdCisco.cc Fri Aug 29 21:12:30 2003 -@@ -699,22 +699,22 @@ - engineIter != this->FlowEngines().end(); engineIter++) { - for (uint8_t aggMethod = 0; aggMethod <= k_CiscoV8FlowExportMaxAggType; - aggMethod++) { -- if ((*engineIter).second.MissedFlows(aggMethod) > -+ if ((*engineIter).second.MissedFlows((char)aggMethod) > - this->_missedFlowsThreshold) { - struct in_addr addrIn; - addrIn.s_addr = this->IpAddress(); -- uint64_t totalFlows = ((*engineIter).second.MissedFlows(aggMethod) + -- (*engineIter).second.FlowsReceived(aggMethod)); -+ uint64_t totalFlows = ((*engineIter).second.MissedFlows((char)aggMethod) + -+ (*engineIter).second.FlowsReceived((char)aggMethod)); - syslog(LOG_INFO, - "[I] missed %u of %u flows from %s" - " engine %d agg_method %d (%g%% loss)", -- (*engineIter).second.MissedFlows(aggMethod), -+ (*engineIter).second.MissedFlows((char)aggMethod), - totalFlows, - inet_ntoa(addrIn), - (*engineIter).first, - aggMethod, -- ((*engineIter).second.MissedFlows(aggMethod) * 100.0) / -- totalFlows); -+ ((*engineIter).second.MissedFlows((char)(aggMethod) * 100.0) / -+ totalFlows)); - } - (*engineIter).second.MissedFlows(0,aggMethod); - (*engineIter).second.FlowsReceived(0,aggMethod); |