Reduce max udp packet size to 2K.

This commit is contained in:
irungentoo 2014-09-17 21:01:08 -04:00
parent 7ec83c3623
commit 9cb0c98a9c
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -92,7 +92,7 @@ typedef int sock_t;
#endif #endif
#endif #endif
#define MAX_UDP_PACKET_SIZE 65507 #define MAX_UDP_PACKET_SIZE 2048
#define NET_PACKET_PING_REQUEST 0 /* Ping request packet ID. */ #define NET_PACKET_PING_REQUEST 0 /* Ping request packet ID. */
#define NET_PACKET_PING_RESPONSE 1 /* Ping response packet ID. */ #define NET_PACKET_PING_RESPONSE 1 /* Ping response packet ID. */