aboutsummaryrefslogtreecommitdiff
path: root/src/ip_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ip_input.c')
-rw-r--r--src/ip_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ip_input.c b/src/ip_input.c
index 7ccec8d..a29c324 100644
--- a/src/ip_input.c
+++ b/src/ip_input.c
@@ -70,7 +70,7 @@ void ip_cleanup(Slirp *slirp)
void ip_input(struct mbuf *m)
{
Slirp *slirp = m->slirp;
- g_assert(M_ROOMBEFORE(m) >= TCPIPHDR_DELTA);
+ M_DUP_DEBUG(slirp, m, 0, TCPIPHDR_DELTA);
register struct ip *ip;
int hlen;