aboutsummaryrefslogtreecommitdiff
path: root/net/cflowd/files/patch-classes::src::CflowdCisco.cc
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>2004-02-23 04:42:13 +0000
committerGarrett Wollman <wollman@FreeBSD.org>2004-02-23 04:42:13 +0000
commit60aab665670e50cb18bba45ee25f2ed091759741 (patch)
tree924c1af9c149083e0626ceb279b67ad6ca69e630 /net/cflowd/files/patch-classes::src::CflowdCisco.cc
parentab7ba5abd2606b7e7d23d2359bb0a26004d0eec0 (diff)
downloadports-60aab665670e50cb18bba45ee25f2ed091759741.tar.gz
ports-60aab665670e50cb18bba45ee25f2ed091759741.zip
Notes
Diffstat (limited to 'net/cflowd/files/patch-classes::src::CflowdCisco.cc')
-rw-r--r--net/cflowd/files/patch-classes::src::CflowdCisco.cc31
1 files changed, 0 insertions, 31 deletions
diff --git a/net/cflowd/files/patch-classes::src::CflowdCisco.cc b/net/cflowd/files/patch-classes::src::CflowdCisco.cc
deleted file mode 100644
index ea5de5ca0d1f..000000000000
--- a/net/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);