mirror of
https://github.com/espressif/esp-lwip.git
synced 2026-06-05 21:04:45 +00:00
WIP: Temporarily break ipv6 zoning to pass IT_* tests
ipv6: send data if src address is null Send both multicast and unicast data if the src IP address is ANY * picked from4fd84aba* picked from889c3875Ref IDF-4856
This commit is contained in:
@@ -174,7 +174,15 @@ 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
|
||||
* zone boundary violations. */
|
||||
#if ESP_LWIP
|
||||
if (ip6_addr_ismulticast(dest) || ip6_addr_isany(src)) {
|
||||
return netif_default;
|
||||
} else {
|
||||
return NULL;
|
||||
}
|
||||
#else
|
||||
return NULL;
|
||||
#endif /* ESP_LWIP */
|
||||
}
|
||||
|
||||
/* We come here only if neither source nor destination is scoped. */
|
||||
|
||||
Reference in New Issue
Block a user