mirror of
https://github.com/espressif/esp-lwip.git
synced 2026-10-04 14:57:37 +00:00
bugfix for ipv6 ping error when src ip miss
This commit is contained in:
+1
-1
@@ -175,7 +175,7 @@ ip6_route(const ip6_addr_t *src, const ip6_addr_t *dest)
|
|||||||
/* Again, do not use any other netif in this case, as that could result in
|
/* Again, do not use any other netif in this case, as that could result in
|
||||||
* zone boundary violations. */
|
* zone boundary violations. */
|
||||||
#if ESP_IPV6
|
#if ESP_IPV6
|
||||||
if (ip6_addr_ismulticast(dest) && ip6_addr_isany(src)) {
|
if (ip6_addr_ismulticast(dest) || ip6_addr_isany(src)) {
|
||||||
return netif_default;
|
return netif_default;
|
||||||
} else {
|
} else {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user