From 1183b95cc435def6cf8e9086b5863d132c087d1f Mon Sep 17 00:00:00 2001 From: David Cermak Date: Mon, 18 May 2020 21:44:57 +0200 Subject: [PATCH] esp-netif: Fix compilation if ESP_GRATUITOUS_ARP not enabled Closes https://github.com/espressif/esp-idf/issues/5294 --- components/esp_netif/lwip/esp_netif_lwip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_netif/lwip/esp_netif_lwip.c b/components/esp_netif/lwip/esp_netif_lwip.c index c55684162a..8fd274dba6 100644 --- a/components/esp_netif/lwip/esp_netif_lwip.c +++ b/components/esp_netif/lwip/esp_netif_lwip.c @@ -614,7 +614,7 @@ static esp_err_t esp_netif_start_api(esp_netif_api_msg_t *msg) #if ESP_GRATUITOUS_ARP netif_set_garp_flag(esp_netif->lwip_netif); #else - ESP_LOGW(TAG,"CONFIG_LWIP_ESP_GRATUITOUS_ARP not enabled, but esp-netif configured woth ESP_NETIF_FLAG_GARP") + ESP_LOGW(TAG,"CONFIG_LWIP_ESP_GRATUITOUS_ARP not enabled, but esp-netif configured with ESP_NETIF_FLAG_GARP"); #endif } struct netif *p_netif = esp_netif->lwip_netif;