From c72ef8a83acec9a482f9508fd3322a548eb4bde3 Mon Sep 17 00:00:00 2001 From: Daniel Collins Date: Mon, 4 Sep 2023 20:25:15 +0100 Subject: [PATCH] Use correct packet size limit for DOSBox encapsulation. --- src/winsock.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/winsock.c b/src/winsock.c index 9116034..9e086cd 100644 --- a/src/winsock.c +++ b/src/winsock.c @@ -68,8 +68,11 @@ static int _max_ipx_payload(void) } else if(ipx_encap_type == ENCAP_TYPE_DOSBOX) { - // TODO: DOXBox MTU - return 1500; + /* include/ipx.h in DOSBox: + * #define IPXBUFFERSIZE 1424 + */ + + return 1424; } else{ return MAX_DATA_SIZE;