From 5eb1c411a5c65246484d4543f289496b8bc7dcf3 Mon Sep 17 00:00:00 2001 From: sg Date: Wed, 26 Aug 2015 20:55:51 +0200 Subject: [PATCH] LWIP_LOOPIF_MCAST -> LWIP_LOOPIF_MULTICAST --- src/core/netif.c | 2 +- src/include/lwip/opt.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/netif.c b/src/core/netif.c index 58e64ced..0ea74f0c 100644 --- a/src/core/netif.c +++ b/src/core/netif.c @@ -127,7 +127,7 @@ netif_loopif_init(struct netif *netif) #if LWIP_IPV6 netif->output_ip6 = netif_loop_output_ipv6; #endif -#if LWIP_LOOPIF_MCAST +#if LWIP_LOOPIF_MULTICAST netif->flags |= NETIF_FLAG_IGMP; #endif return ERR_OK; diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index 3b8427dc..e923cad7 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -1425,10 +1425,10 @@ #endif /** - * LWIP_LOOPIF_MCAST==1: Support multicast/IGMP on loop interface (127.0.0.1). + * LWIP_LOOPIF_MULTICAST==1: Support multicast/IGMP on loop interface (127.0.0.1). */ -#ifndef LWIP_LOOPIF_MCAST -#define LWIP_LOOPIF_MCAST 0 +#ifndef LWIP_LOOPIF_MULTICAST +#define LWIP_LOOPIF_MULTICAST 0 #endif /*