1
0
mirror of https://github.com/solemnwarning/ipxwrapper synced 2024-12-30 16:45:37 +01:00

Use correct packet size limit for DOSBox encapsulation.

This commit is contained in:
Daniel Collins 2023-09-04 20:25:15 +01:00
parent dde08ae3a9
commit c72ef8a83a

View File

@ -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;