From 42474815cf818834479a2bded99e707aabd67e23 Mon Sep 17 00:00:00 2001 From: xueyunfei Date: Tue, 27 Oct 2020 10:20:04 +0800 Subject: [PATCH] udpv6 failed to receive data for the first time for 3.1 --- components/lwip/core/ipv6/nd6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lwip/core/ipv6/nd6.c b/components/lwip/core/ipv6/nd6.c index 893f73eb52..2bd6e08a31 100644 --- a/components/lwip/core/ipv6/nd6.c +++ b/components/lwip/core/ipv6/nd6.c @@ -1655,13 +1655,13 @@ nd6_queue_packet(s8_t neighbor_index, struct pbuf * q) #endif /* LWIP_ND6_QUEUEING */ p = pbuf_alloc(PBUF_LINK, q->tot_len, PBUF_RAM); } +#endif /* ESP_ND6_QUEUEING */ if (p != NULL) { if (pbuf_copy(p, q) != ERR_OK) { pbuf_free(p); p = NULL; } } -#endif } else { /* referencing the old pbuf is enough */ p = q;