summaryrefslogtreecommitdiff
path: root/node/Packet.hpp
diff options
context:
space:
mode:
authorGrant Limberg <grant.limberg@zerotier.com>2017-09-22 10:22:22 -0700
committerGrant Limberg <grant.limberg@zerotier.com>2017-09-22 10:22:22 -0700
commiteb42ef68eeb7a19a9b841cd9f3fe67ffb999c827 (patch)
tree9665109ab82fffdfb34ebb90e9d5759cf1dfdd3a /node/Packet.hpp
parent6842490c1feb572936d8b3893f6d3d07e289a878 (diff)
parent52916eebcfae2559966d12d4be4b5376289a982d (diff)
downloadinfinitytier-eb42ef68eeb7a19a9b841cd9f3fe67ffb999c827.tar.gz
infinitytier-eb42ef68eeb7a19a9b841cd9f3fe67ffb999c827.zip
Merge branch 'dev' of http://git.int.zerotier.com/ZeroTier/ZeroTierOne into dev
Diffstat (limited to 'node/Packet.hpp')
-rw-r--r--node/Packet.hpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/node/Packet.hpp b/node/Packet.hpp
index 5fc631b1..db70e06f 100644
--- a/node/Packet.hpp
+++ b/node/Packet.hpp
@@ -225,12 +225,8 @@
/**
* Packet buffer size (can be changed)
- *
- * The current value is big enough for ZT_MAX_PACKET_FRAGMENTS, the pragmatic
- * packet fragment limit, times the default UDP MTU. Most packets won't be
- * this big.
*/
-#define ZT_PROTO_MAX_PACKET_LENGTH (ZT_MAX_PACKET_FRAGMENTS * ZT_UDP_DEFAULT_PAYLOAD_MTU)
+#define ZT_PROTO_MAX_PACKET_LENGTH (ZT_MAX_PACKET_FRAGMENTS * ZT_DEFAULT_PHYSMTU)
/**
* Minimum viable packet length (a.k.a. header length)