Fixup new IPv4 fragmentation code - thanks to Zach Smith

This commit is contained in:
Dirk Ziegelmeier 2016-10-19 08:36:43 +02:00
parent 801f26ee0c
commit 67895e7bdd

View File

@ -785,7 +785,7 @@ ip4_frag(struct pbuf *p, struct netif *netif, const ip4_addr_t *dest)
p = p->next; p = p->next;
} }
} }
poff = newpbuflen; poff += newpbuflen;
#endif /* LWIP_NETIF_TX_SINGLE_PBUF */ #endif /* LWIP_NETIF_TX_SINGLE_PBUF */
/* Correct header */ /* Correct header */