diff options
| author | aozima <[email protected]> | 2018-12-02 17:32:46 +0800 |
|---|---|---|
| committer | aozima <[email protected]> | 2018-12-03 20:24:09 +0800 |
| commit | b15aa8a1ed708242d7a6c53955de8f0ebefdfcc5 (patch) | |
| tree | c46e146228682c17742343b6bb27f85d443666ab | |
| parent | f63f1f80dde0b5e9e4e01ff1be23ba297706eacb (diff) | |
[bsp][stm32f40x] support lwIP 2.x
| -rw-r--r-- | bsp/stm32f40x/drivers/stm32f4xx_eth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/stm32f40x/drivers/stm32f4xx_eth.c b/bsp/stm32f40x/drivers/stm32f4xx_eth.c index 0ae4c19b97..8db924875b 100644 --- a/bsp/stm32f40x/drivers/stm32f4xx_eth.c +++ b/bsp/stm32f40x/drivers/stm32f4xx_eth.c @@ -3467,7 +3467,7 @@ static void register_multicast_address(struct rt_stm32_eth *stm32_eth, const uin #endif /* (LWIP_IPV4 && LWIP_IGMP) || (LWIP_IPV6 && LWIP_IPV6_MLD) */ #if LWIP_IPV4 && LWIP_IGMP -static err_t igmp_mac_filter( struct netif *netif, const ip4_addr_t *ip4_addr, u8_t action ) +static err_t igmp_mac_filter( struct netif *netif, const ip4_addr_t *ip4_addr, enum netif_mac_filter_action action ) { uint8_t mac[6]; const uint8_t *p = (const uint8_t *)ip4_addr; @@ -3493,7 +3493,7 @@ static err_t igmp_mac_filter( struct netif *netif, const ip4_addr_t *ip4_addr, u #endif /* LWIP_IPV4 && LWIP_IGMP */ #if LWIP_IPV6 && LWIP_IPV6_MLD -static err_t mld_mac_filter( struct netif *netif, const ip6_addr_t *ip6_addr, u8_t action ) +static err_t mld_mac_filter( struct netif *netif, const ip6_addr_t *ip6_addr, enum netif_mac_filter_action action ) { uint8_t mac[6]; const uint8_t *p = (const uint8_t *)&ip6_addr->addr[3]; |
