From 1774e615a18b6f02a2e202814a61384a50a80978 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 10 Oct 2014 09:09:56 -0700 Subject: [PATCH] <= MTU --- node/IncomingPacket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/IncomingPacket.cpp b/node/IncomingPacket.cpp index 8fe00d94c..1846fdcb6 100644 --- a/node/IncomingPacket.cpp +++ b/node/IncomingPacket.cpp @@ -1094,7 +1094,7 @@ bool IncomingPacket::_doMULTICAST_FRAME(const RuntimeEnvironment *RR,const Share //TRACE("<address().toString().c_str(),flags,payloadLen); - if ((payloadLen > 0)&&(payloadLen < ZT_IF_MTU)) { + if ((payloadLen > 0)&&(payloadLen <= ZT_IF_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(),_remoteAddress.toString().c_str(),to.toString().c_str()); return true;