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:
parent
dde08ae3a9
commit
c72ef8a83a
@ -68,8 +68,11 @@ static int _max_ipx_payload(void)
|
|||||||
}
|
}
|
||||||
else if(ipx_encap_type == ENCAP_TYPE_DOSBOX)
|
else if(ipx_encap_type == ENCAP_TYPE_DOSBOX)
|
||||||
{
|
{
|
||||||
// TODO: DOXBox MTU
|
/* include/ipx.h in DOSBox:
|
||||||
return 1500;
|
* #define IPXBUFFERSIZE 1424
|
||||||
|
*/
|
||||||
|
|
||||||
|
return 1424;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
return MAX_DATA_SIZE;
|
return MAX_DATA_SIZE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user