summaryrefslogtreecommitdiff
path: root/node/IncomingPacket.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-05-04 17:12:02 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-05-04 17:12:02 -0700
commit107e3e41065a816354c3f383736c5abbb156b0d3 (patch)
tree5168c6ea1f1f94dd576af7820332861495f82dc5 /node/IncomingPacket.cpp
parent6ef247fb93573d1dd86b05ff973da9e4a7576809 (diff)
downloadinfinitytier-107e3e41065a816354c3f383736c5abbb156b0d3.tar.gz
infinitytier-107e3e41065a816354c3f383736c5abbb156b0d3.zip
First pass of configurable MTU and max MTU increase.
Diffstat (limited to 'node/IncomingPacket.cpp')
-rw-r--r--node/IncomingPacket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/IncomingPacket.cpp b/node/IncomingPacket.cpp
index 126da53c..7ef2054b 100644
--- a/node/IncomingPacket.cpp
+++ b/node/IncomingPacket.cpp
@@ -1125,7 +1125,7 @@ bool IncomingPacket::_doMULTICAST_FRAME(const RuntimeEnvironment *RR,void *tPtr,
//TRACE("<<MC FRAME %.16llx/%s from %s@%s flags %.2x length %u",nwid,to.toString().c_str(),from.toString().c_str(),peer->address().toString().c_str(),flags,frameLen);
- if ((frameLen > 0)&&(frameLen <= ZT_IF_MTU)) {
+ if ((frameLen > 0)&&(frameLen <= ZT_MAX_MTU)) {
if (!to.mac().isMulticast()) {
TRACE("dropped MULTICAST_FRAME from %s@%s(%s) to %s: destination is unicast, must use FRAME or EXT_FRAME",from.toString().c_str(),peer->address().toString().c_str(),_path->address().toString().c_str(),to.toString().c_str());
peer->received(tPtr,_path,hops(),packetId(),Packet::VERB_MULTICAST_FRAME,0,Packet::VERB_NOP,true); // trustEstablished because COM is okay