removed unused private field moduleId
parent
453a2bd718
commit
a6bb9a48ae
|
@ -41,9 +41,8 @@
|
|||
* Does SCTP/IPv4 specific initialization.
|
||||
* @param port Port to listen on
|
||||
*/
|
||||
IpfixReceiverSctpIpV4::IpfixReceiverSctpIpV4(int port, std::string ipAddr, uint32_t buffer,
|
||||
unsigned int moduleId)
|
||||
: statReceivedPackets(0), moduleId(moduleId)
|
||||
IpfixReceiverSctpIpV4::IpfixReceiverSctpIpV4(int port, std::string ipAddr, uint32_t buffer)
|
||||
: statReceivedPackets(0)
|
||||
{
|
||||
receiverPort = port;
|
||||
|
||||
|
|
|
@ -41,8 +41,7 @@
|
|||
class IpfixReceiverSctpIpV4 : public IpfixReceiver, Sensor {
|
||||
#ifdef SUPPORT_SCTP
|
||||
public:
|
||||
IpfixReceiverSctpIpV4(int port, std::string ipAddr = "", uint32_t buffer = 0,
|
||||
unsigned int moduleId = 0);
|
||||
IpfixReceiverSctpIpV4(int port, std::string ipAddr = "", uint32_t buffer = 0);
|
||||
virtual ~IpfixReceiverSctpIpV4();
|
||||
|
||||
virtual void run();
|
||||
|
@ -51,7 +50,6 @@ class IpfixReceiverSctpIpV4 : public IpfixReceiver, Sensor {
|
|||
private:
|
||||
int listen_socket;
|
||||
uint32_t statReceivedPackets; /**< number of received packets */
|
||||
unsigned int moduleId;
|
||||
#else
|
||||
public:
|
||||
IpfixReceiverSctpIpV4(int port, std::string ipAddr, uint32_t buffer = 0) {
|
||||
|
|
Loading…
Reference in New Issue