summaryrefslogtreecommitdiffstats
path: root/net-mgmt/cflowd/files/patch-classes::src::CflowdPacketQueue.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/cflowd/files/patch-classes::src::CflowdPacketQueue.cc')
-rw-r--r--net-mgmt/cflowd/files/patch-classes::src::CflowdPacketQueue.cc28
1 files changed, 28 insertions, 0 deletions
diff --git a/net-mgmt/cflowd/files/patch-classes::src::CflowdPacketQueue.cc b/net-mgmt/cflowd/files/patch-classes::src::CflowdPacketQueue.cc
new file mode 100644
index 0000000..d60c99e
--- /dev/null
+++ b/net-mgmt/cflowd/files/patch-classes::src::CflowdPacketQueue.cc
@@ -0,0 +1,28 @@
+--- classes/src/CflowdPacketQueue.cc.orig Fri Aug 29 21:54:26 2003
++++ classes/src/CflowdPacketQueue.cc Fri Aug 29 21:58:48 2003
+@@ -54,6 +54,7 @@
+ #include <syslog.h>
+ #include <assert.h>
+
++using namespace std;
+ #include "caida_t.h"
+ #include "CflowdFlowPdu.h"
+
+@@ -401,7 +402,7 @@
+ //.........................................................................
+ //
+ //-------------------------------------------------------------------------
+-int CflowdPacketQueue::GetLock(uint8_t bufNum = 0xff)
++int CflowdPacketQueue::GetLock(uint8_t bufNum)
+ {
+ if (bufNum == 0xff)
+ bufNum = this->_currentBuffer;
+@@ -424,7 +425,7 @@
+ //.........................................................................
+ //
+ //-------------------------------------------------------------------------
+-int CflowdPacketQueue::ReleaseLock(uint8_t bufNum = 0xff)
++int CflowdPacketQueue::ReleaseLock(uint8_t bufNum)
+ {
+ if (bufNum == 0xff)
+ bufNum = this->_currentBuffer;
OpenPOWER on IntegriCloud