mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-25 15:42:56 +00:00
mdns.c: use group initializer constants from prot/dns.h
This commit is contained in:
parent
f308694dd4
commit
ac4d994249
@ -81,13 +81,13 @@
|
|||||||
#if LWIP_IPV4
|
#if LWIP_IPV4
|
||||||
#include "lwip/igmp.h"
|
#include "lwip/igmp.h"
|
||||||
/* IPv4 multicast group 224.0.0.251 */
|
/* IPv4 multicast group 224.0.0.251 */
|
||||||
static const ip_addr_t v4group = IPADDR4_INIT(PP_HTONL(0xE00000FBUL));
|
static const ip_addr_t v4group = DNS_MQUERY_IPV4_GROUP_INIT;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if LWIP_IPV6
|
#if LWIP_IPV6
|
||||||
#include "lwip/mld6.h"
|
#include "lwip/mld6.h"
|
||||||
/* IPv6 multicast group FF02::FB */
|
/* IPv6 multicast group FF02::FB */
|
||||||
static const ip_addr_t v6group = IPADDR6_INIT(PP_HTONL(0xFF020000UL), PP_HTONL(0x00000000UL), PP_HTONL(0x00000000UL), PP_HTONL(0x000000FBUL));
|
static const ip_addr_t v6group = DNS_MQUERY_IPV6_GROUP_INIT;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MDNS_PORT 5353
|
#define MDNS_PORT 5353
|
||||||
|
Loading…
Reference in New Issue
Block a user