mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-18 20:47:53 +00:00
One more sanity check.
This commit is contained in:
parent
ff655292fb
commit
bba1324145
@ -239,6 +239,9 @@ static void handlePacket(const int v4s,const int v6s,const InetAddress *const ip
|
||||
|
||||
s_inputRate.log(now,pkt.size());
|
||||
|
||||
if ((!fragment)&&(pkt.size() < ZT_PROTO_MIN_PACKET_LENGTH))
|
||||
return;
|
||||
|
||||
if ((!fragment)&&(!pkt.fragmented())&&(dest == s_self.address())) {
|
||||
SharedPtr<RootPeer> peer;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user