Allow configuration of local netif hostname via new LWIP component configuration menu item

Signed-off-by: Sagar Bijwe <sagar@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/3627
This commit is contained in:
grumpy-dude
2019-06-12 17:05:41 -07:00
committed by Sagar Bijwe
parent 58df1d93bc
commit 8a3cf8ca77
4 changed files with 9 additions and 3 deletions

View File

@@ -202,7 +202,7 @@ wlanif_init(struct netif *netif)
/* Initialize interface hostname */
#if ESP_LWIP
netif->hostname = "espressif";
netif->hostname = CONFIG_LWIP_LOCAL_HOSTNAME;
#else
netif->hostname = "lwip";
#endif