From f0636ffd4a86336f00bbf77a3e303def6261b518 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 29 Aug 2016 15:54:06 -0700 Subject: EXT_FRAME messages should always be accepted if we are the destination for a matching TEE or REDIRECT rule. --- node/Network.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node/Network.hpp') diff --git a/node/Network.hpp b/node/Network.hpp index c5e7d570..aa4b67f8 100644 --- a/node/Network.hpp +++ b/node/Network.hpp @@ -124,9 +124,9 @@ public: * @param frameLen Ethernet frame payload length * @param etherType 16-bit ethernet type ID * @param vlanId 16-bit VLAN ID - * @return True if packet should be accepted locally + * @return 0 == drop, 1 == accept, 2 == accept even if bridged */ - bool filterIncomingPacket( + int filterIncomingPacket( const SharedPtr &sourcePeer, const Address &ztDest, const MAC &macSource, -- cgit v1.2.3