@@ -299,7 +299,7 @@ err_t k64f_etharp_output_ipv6(struct netif *netif, struct pbuf *q, const ip6_add
299
299
err_t igmp_mac_filter (struct netif * netif , const ip4_addr_t * group , u8_t action )
300
300
{
301
301
switch (action ) {
302
- case IGMP_ADD_MAC_FILTER :
302
+ case NETIF_ADD_MAC_FILTER :
303
303
{
304
304
uint32_t group23 = ntohl (group -> addr ) & 0x007FFFFF ;
305
305
uint8_t addr [6 ];
@@ -312,7 +312,7 @@ err_t igmp_mac_filter(struct netif *netif, const ip4_addr_t *group, u8_t action)
312
312
ENET_AddMulticastGroup (ENET , addr );
313
313
return ERR_OK ;
314
314
}
315
- case IGMP_DEL_MAC_FILTER :
315
+ case NETIF_DEL_MAC_FILTER :
316
316
/* As we don't reference count, silently ignore delete requests */
317
317
return ERR_OK ;
318
318
default :
@@ -333,7 +333,7 @@ err_t igmp_mac_filter(struct netif *netif, const ip4_addr_t *group, u8_t action)
333
333
err_t mld_mac_filter (struct netif * netif , const ip6_addr_t * group , u8_t action )
334
334
{
335
335
switch (action ) {
336
- case MLD6_ADD_MAC_FILTER :
336
+ case NETIF_ADD_MAC_FILTER :
337
337
{
338
338
uint32_t group32 = ntohl (group -> addr [3 ]);
339
339
uint8_t addr [6 ];
@@ -346,7 +346,7 @@ err_t mld_mac_filter(struct netif *netif, const ip6_addr_t *group, u8_t action)
346
346
ENET_AddMulticastGroup (ENET , addr );
347
347
return ERR_OK ;
348
348
}
349
- case MLD6_DEL_MAC_FILTER :
349
+ case NETIF_DEL_MAC_FILTER :
350
350
/* As we don't reference count, silently ignore delete requests */
351
351
return ERR_OK ;
352
352
default :
0 commit comments