From 2a6f31a84e31656a1a675fd558a8760e46ccbf40 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 18 Aug 2015 16:35:06 +0200 Subject: [PATCH] fix that LWIP_MULTICAST_TX_OPTIONS must be used in ip4_route instead of LWIP_IGMP --- src/core/ipv4/ip4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/ipv4/ip4.c b/src/core/ipv4/ip4.c index ea65ba7e..a1a120b6 100644 --- a/src/core/ipv4/ip4.c +++ b/src/core/ipv4/ip4.c @@ -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) {