Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/core/ipv4/etharp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ etharp_query(struct netif *netif, const ip4_addr_t *ipaddr, struct pbuf *q)
* new PBUF_RAM. See the definition of PBUF_NEEDS_COPY for details. */
p = q;
while (p) {
LWIP_ASSERT("no packet queues allowed!", (p->len != p->tot_len) || (p->next == NULL));
LWIP_ASSERT("no packet queues allowed!", (p->len == p->tot_len) && (p->next == NULL));
if (PBUF_NEEDS_COPY(p)) {
copy_needed = 1;
break;
Expand Down