From b41437780b5740f7fcb813412b2bf4157ac8d807 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 30 Sep 2014 17:26:34 -0700 Subject: Add origin to new MULTICAST_FRAME, move security check for certs into Network to remove redundant code and bug-proneness, more work on IncomingPacket... --- node/IncomingPacket.hpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'node/IncomingPacket.hpp') diff --git a/node/IncomingPacket.hpp b/node/IncomingPacket.hpp index e1a1959f..33f12a5f 100644 --- a/node/IncomingPacket.hpp +++ b/node/IncomingPacket.hpp @@ -83,7 +83,6 @@ public: _receiveTime(Utils::now()), _fromSock(fromSock), _remoteAddress(remoteAddress), - _step(DECODE_WAITING_FOR_SENDER_LOOKUP), __refCount() { } @@ -133,13 +132,6 @@ private: uint64_t _receiveTime; SharedPtr _fromSock; InetAddress _remoteAddress; - - enum { - DECODE_WAITING_FOR_SENDER_LOOKUP, // on initial receipt, we need peer's identity - DECODE_WAITING_FOR_MULTICAST_FRAME_ORIGINAL_SENDER_LOOKUP, - DECODE_WAITING_FOR_NETWORK_MEMBERSHIP_CERTIFICATE_SIGNER_LOOKUP - } _step; - AtomicCounter __refCount; }; -- cgit v1.2.3