mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-19 12:40:20 +00:00
fix that LWIP_MULTICAST_TX_OPTIONS must be used in ip4_route instead of LWIP_IGMP
This commit is contained in:
parent
bc4473b275
commit
2a6f31a84e
@ -134,12 +134,12 @@ ip4_route(const ip4_addr_t *dest)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if LWIP_IGMP
|
||||
#if LWIP_MULTICAST_TX_OPTIONS
|
||||
/* Use administratively selected interface for multicast by default */
|
||||
if (ip4_addr_ismulticast(dest) && ip4_default_multicast_netif) {
|
||||
return ip4_default_multicast_netif;
|
||||
}
|
||||
#endif /* LWIP_IGMP */
|
||||
#endif /* LWIP_MULTICAST_TX_OPTIONS */
|
||||
|
||||
/* iterate through netifs */
|
||||
for (netif = netif_list; netif != NULL; netif = netif->next) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user