From d7c50f56d7d7a239cd57745c3213c5d69d3f031e Mon Sep 17 00:00:00 2001 From: goldsimon Date: Sun, 1 Jul 2007 14:52:09 +0000 Subject: [PATCH] Fixed a wrong assert statement in etharp_query when ARP_QUEUEING=1 and packets should be queued. --- src/netif/etharp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netif/etharp.c b/src/netif/etharp.c index e975d9fc..ed1351de 100644 --- a/src/netif/etharp.c +++ b/src/netif/etharp.c @@ -882,7 +882,7 @@ etharp_query(struct netif *netif, struct ip_addr *ipaddr, struct pbuf *q) * PBUF_ROMs can be left as they are, since ROM must not get changed. */ p = q; while (p) { - LWIP_ASSERT("no packet queues allowed!", (p->len == p->tot_len) || (p->next == 0)); + LWIP_ASSERT("no packet queues allowed!", (p->len != p->tot_len) || (p->next == 0)); if(p->flags != PBUF_FLAG_ROM) { copy_needed = 1; break;