summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toxcore/network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/network.h b/toxcore/network.h
index 1f4b757c..b250604e 100644
--- a/toxcore/network.h
+++ b/toxcore/network.h
@@ -92,7 +92,7 @@ typedef int sock_t;
92#endif 92#endif
93#endif 93#endif
94 94
95#define MAX_UDP_PACKET_SIZE 65507 95#define MAX_UDP_PACKET_SIZE 2048
96 96
97#define NET_PACKET_PING_REQUEST 0 /* Ping request packet ID. */ 97#define NET_PACKET_PING_REQUEST 0 /* Ping request packet ID. */
98#define NET_PACKET_PING_RESPONSE 1 /* Ping response packet ID. */ 98#define NET_PACKET_PING_RESPONSE 1 /* Ping response packet ID. */