mirror of
https://github.com/LIV2/WinUAE.git
synced 2025-12-06 00:12:52 +00:00
Slirp fix.
This commit is contained in:
parent
c628c26c38
commit
c1be5812d7
@ -68,7 +68,9 @@ int cksum(struct mbuf *m, int len)
|
||||
|
||||
if (len < mlen)
|
||||
mlen = len;
|
||||
#ifdef DEBUG
|
||||
len -= mlen;
|
||||
#endif
|
||||
/*
|
||||
* Force to even boundary.
|
||||
*/
|
||||
|
||||
@ -371,7 +371,7 @@ insert:
|
||||
*/
|
||||
if (m->m_flags & M_EXT) {
|
||||
int delta;
|
||||
delta = (char *)ip - m->m_dat;
|
||||
delta = (char *)q - m->m_dat;
|
||||
q = (struct ipasfrag *)(m->m_ext + delta);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user