diff options
| author | aozima <[email protected]> | 2018-12-02 17:31:43 +0800 |
|---|---|---|
| committer | aozima <[email protected]> | 2018-12-03 20:23:55 +0800 |
| commit | f63f1f80dde0b5e9e4e01ff1be23ba297706eacb (patch) | |
| tree | 88de5b4d6af7925ae374e85d4d53ed8e8fa74e8c /bsp | |
| parent | 62058e18feddc2dc6acf14964bc6a8850e5746ab (diff) | |
[bsp][stm32f107] support lwIP 2.x
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/stm32f107/drivers/stm32_eth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/stm32f107/drivers/stm32_eth.c b/bsp/stm32f107/drivers/stm32_eth.c index bd7317090f..e4efba161b 100644 --- a/bsp/stm32f107/drivers/stm32_eth.c +++ b/bsp/stm32f107/drivers/stm32_eth.c @@ -3141,7 +3141,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; @@ -3167,7 +3167,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]; |
