mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-06 20:29:04 +00:00
Fixed a wrong assert statement in etharp_query when ARP_QUEUEING=1 and packets should be queued.
This commit is contained in:
parent
b6750de9e8
commit
d7c50f56d7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user