@@ -63,41 +63,45 @@ const MACAddress_t xLLMNR_MacAddress = { { 0x01, 0x00, 0x5e, 0x00, 0x00, 0xfc }
6363/** @brief The IPv6 link-scope multicast MAC address */
6464const MACAddress_t xLLMNR_MacAddressIPv6 = { { 0x33 , 0x33 , 0x00 , 0x01 , 0x00 , 0x03 } };
6565
66+ #if ( ( ipconfigUSE_LLMNR != 0 ) && ( ipconfigUSE_IPv6 != 0 ) )
6667/** @brief The IPv6 link-scope multicast address */
67- const IPv6_Address_t ipLLMNR_IP_ADDR_IPv6 =
68- {
69- { /* ff02::1:3 */
70- 0xff , 0x02 ,
71- 0x00 , 0x00 ,
72- 0x00 , 0x00 ,
73- 0x00 , 0x00 ,
74- 0x00 , 0x00 ,
75- 0x00 , 0x00 ,
76- 0x00 , 0x01 ,
77- 0x00 , 0x03 ,
78- }
79- };
68+ const IPv6_Address_t ipLLMNR_IP_ADDR_IPv6 =
69+ {
70+ { /* ff02::1:3 */
71+ 0xff , 0x02 ,
72+ 0x00 , 0x00 ,
73+ 0x00 , 0x00 ,
74+ 0x00 , 0x00 ,
75+ 0x00 , 0x00 ,
76+ 0x00 , 0x00 ,
77+ 0x00 , 0x01 ,
78+ 0x00 , 0x03 ,
79+ }
80+ };
81+ #endif /* ( ( ipconfigUSE_LLMNR != 0 ) && ( ipconfigUSE_IPv6 != 0 ) ) */
8082
8183/** @brief The MAC address used for MDNS. */
8284const MACAddress_t xMDNS_MacAddress = { { 0x01 , 0x00 , 0x5e , 0x00 , 0x00 , 0xfb } };
8385
8486/** @brief The IPv6 multicast DNS MAC address. */
8587const MACAddress_t xMDNS_MacAddressIPv6 = { { 0x33 , 0x33 , 0x00 , 0x00 , 0x00 , 0xFB } };
8688
89+ #if ( ( ipconfigUSE_MDNS != 0 ) && ( ipconfigUSE_IPv6 != 0 ) )
8790/** @brief multicast DNS IPv6 address */
88- const IPv6_Address_t ipMDNS_IP_ADDR_IPv6 =
89- {
90- { /* ff02::fb */
91- 0xff , 0x02 ,
92- 0x00 , 0x00 ,
93- 0x00 , 0x00 ,
94- 0x00 , 0x00 ,
95- 0x00 , 0x00 ,
96- 0x00 , 0x00 ,
97- 0x00 , 0x00 ,
98- 0x00 , 0xfb ,
99- }
100- };
91+ const IPv6_Address_t ipMDNS_IP_ADDR_IPv6 =
92+ {
93+ { /* ff02::fb */
94+ 0xff , 0x02 ,
95+ 0x00 , 0x00 ,
96+ 0x00 , 0x00 ,
97+ 0x00 , 0x00 ,
98+ 0x00 , 0x00 ,
99+ 0x00 , 0x00 ,
100+ 0x00 , 0x00 ,
101+ 0x00 , 0xfb ,
102+ }
103+ };
104+ #endif /* ( ( ipconfigUSE_MDNS != 0 ) && ( ipconfigUSE_IPv6 != 0 ) ) */
101105
102106/* Exclude the entire file if DNS is not enabled. */
103107#if ( ipconfigUSE_DNS != 0 )
0 commit comments