summaryrefslogtreecommitdiff
path: root/node/PacketDecoder.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-06-12 11:40:30 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-06-12 11:40:30 -0700
commitd6a4f8d77bf1d31bb623c25150479ff8c0daacd7 (patch)
treea9a90f08d911ef173d7e1d40495fc87afa2ee7a3 /node/PacketDecoder.cpp
parentc30f9832b0a926914986bc9160190dbfec7ceddd (diff)
downloadinfinitytier-d6a4f8d77bf1d31bb623c25150479ff8c0daacd7.tar.gz
infinitytier-d6a4f8d77bf1d31bb623c25150479ff8c0daacd7.zip
Add flags to EXT_FRAME for better future proofness.
Diffstat (limited to 'node/PacketDecoder.cpp')
-rw-r--r--node/PacketDecoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/PacketDecoder.cpp b/node/PacketDecoder.cpp
index c94caa3e..2b9d034a 100644
--- a/node/PacketDecoder.cpp
+++ b/node/PacketDecoder.cpp
@@ -486,7 +486,7 @@ bool PacketDecoder::_doEXT_FRAME(const RuntimeEnvironment *_r,const SharedPtr<Pe
}
_incomingFrame(_r,peer,network,from,to,etherType,data() + ZT_PROTO_VERB_FRAME_IDX_PAYLOAD,size() - ZT_PROTO_VERB_FRAME_IDX_PAYLOAD);
- } else return true; // ignore empty frames
+ }
} else {
TRACE("dropped EXT_FRAME from %s(%s): we are not connected to network %.16llx",source().toString().c_str(),_remoteAddress.toString().c_str(),at<uint64_t>(ZT_PROTO_VERB_FRAME_IDX_NETWORK_ID));
}