Fix compile when UDP is disabled

This commit is contained in:
Dirk Ziegelmeier
2016-09-06 12:30:15 +02:00
parent 34682facd1
commit aeae4e91db
2 changed files with 70 additions and 69 deletions

View File

@@ -978,7 +978,7 @@
* IP_MULTICAST_TTL/IP_MULTICAST_IF/IP_MULTICAST_LOOP
*/
#if !defined LWIP_MULTICAST_TX_OPTIONS || defined __DOXYGEN__
#define LWIP_MULTICAST_TX_OPTIONS LWIP_IGMP
#define LWIP_MULTICAST_TX_OPTIONS (LWIP_IGMP && LWIP_UDP)
#endif
/**
* @}