mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-19 05:26:54 +02:00
One more sanity check.
This commit is contained in:
parent
ff655292fb
commit
bba1324145
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue