mirror of https://gitee.com/openkylin/qemu.git
Fix build from previous commit
I unfortunately got on an unnamed branch and pushed the wrong bits Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
53fae6d27f
commit
8fe3046f17
|
@ -65,7 +65,7 @@ m_get(Slirp *slirp)
|
|||
m->m_flags = (flags | M_USEDLIST);
|
||||
|
||||
/* Initialise it */
|
||||
m->m_size = SLIRP_MSIZE - offsetof(struct m_hdr, m_dat);
|
||||
m->m_size = SLIRP_MSIZE - offsetof(struct mbuf, m_dat);
|
||||
m->m_data = m->m_dat;
|
||||
m->m_len = 0;
|
||||
m->m_nextpkt = NULL;
|
||||
|
|
Loading…
Reference in New Issue