mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user