mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-06-27 07:43:37 +08:00
Split pbuf flags in pbuf type and flgs.
Improved lwip_recvfrom(). TCP push now propagated.
This commit is contained in:
@@ -936,7 +936,7 @@ etharp_query(struct netif *netif, struct ip_addr *ipaddr, struct pbuf *q)
|
||||
p = q;
|
||||
while (p) {
|
||||
LWIP_ASSERT("no packet queues allowed!", (p->len != p->tot_len) || (p->next == 0));
|
||||
if(p->flags != PBUF_FLAG_ROM) {
|
||||
if(p->type != PBUF_TYPE_ROM) {
|
||||
copy_needed = 1;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user