mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-12 04:13:55 +00:00
LWIP_LOOPIF_MCAST -> LWIP_LOOPIF_MULTICAST
This commit is contained in:
parent
0d6001a196
commit
5eb1c411a5
@ -127,7 +127,7 @@ netif_loopif_init(struct netif *netif)
|
|||||||
#if LWIP_IPV6
|
#if LWIP_IPV6
|
||||||
netif->output_ip6 = netif_loop_output_ipv6;
|
netif->output_ip6 = netif_loop_output_ipv6;
|
||||||
#endif
|
#endif
|
||||||
#if LWIP_LOOPIF_MCAST
|
#if LWIP_LOOPIF_MULTICAST
|
||||||
netif->flags |= NETIF_FLAG_IGMP;
|
netif->flags |= NETIF_FLAG_IGMP;
|
||||||
#endif
|
#endif
|
||||||
return ERR_OK;
|
return ERR_OK;
|
||||||
|
@ -1425,10 +1425,10 @@
|
|||||||
#endif
|
#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
|
#ifndef LWIP_LOOPIF_MULTICAST
|
||||||
#define LWIP_LOOPIF_MCAST 0
|
#define LWIP_LOOPIF_MULTICAST 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user