removed unused private field moduleId

master
Emanuel Vintila 2017-12-01 13:59:45 +01:00 committed by Nicholas Brown
parent 453a2bd718
commit a6bb9a48ae
2 changed files with 3 additions and 6 deletions

View File

@ -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;

View File

@ -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) {