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.cpp | |
parent | 8b302761d4ca51f41eaff4097c9afa4f3aec5ec5 (diff) | |
download | openttd-d6000c2ec5f61c599d8859b981f2dac6a92e0755.tar.xz |
Codechange: differentiate between UDP, TCP and compatibility MTU values
Diffstat (limited to 'src/network/core/packet.cpp')
-rw-r--r-- | src/network/core/packet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/packet.cpp b/src/network/core/packet.cpp index 39531c0a4..40e664055 100644 --- a/src/network/core/packet.cpp +++ b/src/network/core/packet.cpp @@ -39,7 +39,7 @@ Packet::Packet(NetworkSocketHandler *cs, size_t limit, size_t initial_read_size) /** * Creates a packet to send * @param type The type of the packet to send - * @param limit The maximum number of bytes the packet may have. Default is SEND_MTU. + * @param limit The maximum number of bytes the packet may have. Default is COMPAT_MTU. * Be careful of compatibility with older clients/servers when changing * the limit as it might break things if the other side is not expecting * much larger packets than what they support. |