diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-29 15:54:06 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-29 15:54:06 -0700 |
| commit | f0636ffd4a86336f00bbf77a3e303def6261b518 (patch) | |
| tree | a4d37d3c3828f0555e0baefc76f0c7b7ae85ac32 /node/Network.hpp | |
| parent | 51a420671f123968e416f5cce326e8e47aa71643 (diff) | |
| download | infinitytier-f0636ffd4a86336f00bbf77a3e303def6261b518.tar.gz infinitytier-f0636ffd4a86336f00bbf77a3e303def6261b518.zip | |
EXT_FRAME messages should always be accepted if we are the destination for a matching TEE or REDIRECT rule.
Diffstat (limited to 'node/Network.hpp')
| -rw-r--r-- | node/Network.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<Peer> &sourcePeer, const Address &ztDest, const MAC &macSource, |
