network: prevent sending packets larger than 1280 bytes

This commit is contained in:
Adrien Beraud committed 2017-07-12 11:24:58 -04:00
1 parent 7e92eb6192
commit 8a123f9f68
1 file changed
+1 -1
+1 -1
View File
@@ -464,7 +464,7 @@ private:
static constexpr unsigned BLACKLISTED_MAX {10};
static constexpr size_t MTU {1280};
static constexpr size_t MAX_PACKET_VALUE_SIZE {8 * 1024};
static constexpr size_t MAX_PACKET_VALUE_SIZE {600};
static const std::string my_v;
static std::mt19937 rd_device;