diff options
author | Rubidium <rubidium@openttd.org> | 2021-04-18 14:49:39 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-04-25 21:27:54 +0200 |
commit | d6000c2ec5f61c599d8859b981f2dac6a92e0755 (patch) | |
tree | 41418504a0c6e9701295228873bfc2c6d66fe313 /src/network/core/packet.h | |
parent | 8b302761d4ca51f41eaff4097c9afa4f3aec5ec5 (diff) | |
download | openttd-d6000c2ec5f61c599d8859b981f2dac6a92e0755.tar.xz |
Codechange: differentiate between UDP, TCP and compatibility MTU values
Diffstat (limited to 'src/network/core/packet.h')
-rw-r--r-- | src/network/core/packet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/packet.h b/src/network/core/packet.h index db051005c..d55dad316 100644 --- a/src/network/core/packet.h +++ b/src/network/core/packet.h @@ -56,7 +56,7 @@ private: public: Packet(NetworkSocketHandler *cs, size_t limit, size_t initial_read_size = sizeof(PacketSize)); - Packet(PacketType type, size_t limit = SEND_MTU); + Packet(PacketType type, size_t limit = COMPAT_MTU); static void AddToQueue(Packet **queue, Packet *packet); static Packet *PopFromQueue(Packet **queue); |