diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-06 12:34:35 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-07-06 12:34:35 -0700 |
commit | e5f7c55c5495369c091ab5aec449638d7abd5a50 (patch) | |
tree | 034fb8281fa9789d6870bb32a6d5cb80bc3b7183 /node/IncomingPacket.cpp | |
parent | df08c2cfab0b8a1d7e764ecc2dc7278f790976a7 (diff) | |
download | infinitytier-e5f7c55c5495369c091ab5aec449638d7abd5a50.tar.gz infinitytier-e5f7c55c5495369c091ab5aec449638d7abd5a50.zip |
Documentation in Packet, more work on path push, and clean up ancient legacy support code in Switch.
Diffstat (limited to 'node/IncomingPacket.cpp')
-rw-r--r-- | node/IncomingPacket.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/node/IncomingPacket.cpp b/node/IncomingPacket.cpp index 7e2bcdaa..f45a1279 100644 --- a/node/IncomingPacket.cpp +++ b/node/IncomingPacket.cpp @@ -595,9 +595,7 @@ bool IncomingPacket::_doEXT_FRAME(const RuntimeEnvironment *RR,const SharedPtr<P TRACE("dropped EXT_FRAME from %s@%s(%s) to %s: sender not allowed to bridge into %.16llx",from.toString().c_str(),peer->address().toString().c_str(),_remoteAddress.toString().c_str(),to.toString().c_str(),network->id()); return true; } - } - - if (to != network->mac()) { + } else if (to != network->mac()) { if (!network->permitsBridging(RR->identity.address())) { TRACE("dropped EXT_FRAME from %s@%s(%s) to %s: I cannot bridge to %.16llx or bridging disabled on network",from.toString().c_str(),peer->address().toString().c_str(),_remoteAddress.toString().c_str(),to.toString().c_str(),network->id()); return true; |