mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 00:14:02 +00:00
zepif: call netif->input instead of tcpip_6lowpan_input for rx packets
This allows reusing zepif e.g. with contiki 6LoWPAN code for testing.
This commit is contained in:
parent
b28e979739
commit
5474498f7e
@ -155,7 +155,7 @@ zepif_udp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p,
|
||||
|
||||
/* Call tcpip_6lowpan_input here, not netif->input as we know the direct call
|
||||
* stack won't work as we could enter udp_input twice. */
|
||||
err = tcpip_6lowpan_input(p, netif_lowpan6);
|
||||
err = netif_lowpan6->input(p, netif_lowpan6);
|
||||
if (err == ERR_OK) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user