mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
zepif: fix comment for calling netif->input()
This commit is contained in:
parent
5474498f7e
commit
91a2d9e237
@ -153,8 +153,7 @@ zepif_udp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p,
|
|||||||
/* remove CRC trailer */
|
/* remove CRC trailer */
|
||||||
pbuf_realloc(p, p->tot_len - 2);
|
pbuf_realloc(p, p->tot_len - 2);
|
||||||
|
|
||||||
/* Call tcpip_6lowpan_input here, not netif->input as we know the direct call
|
/* Call into 6LoWPAN code. */
|
||||||
* stack won't work as we could enter udp_input twice. */
|
|
||||||
err = netif_lowpan6->input(p, netif_lowpan6);
|
err = netif_lowpan6->input(p, netif_lowpan6);
|
||||||
if (err == ERR_OK) {
|
if (err == ERR_OK) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user