From 76fc05e6f87d21593a36b7cbb22b9ec3b318d01b Mon Sep 17 00:00:00 2001 From: Zhang Jun Hao Date: Mon, 20 May 2019 20:27:51 +0800 Subject: [PATCH] feat(lwip): set netif hostname according to rfc952 --- components/lwip/port/esp8266/netif/ethernetif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lwip/port/esp8266/netif/ethernetif.c b/components/lwip/port/esp8266/netif/ethernetif.c index ce63956f..e68ee90d 100644 --- a/components/lwip/port/esp8266/netif/ethernetif.c +++ b/components/lwip/port/esp8266/netif/ethernetif.c @@ -468,7 +468,7 @@ int8_t ethernetif_init(struct netif* netif) #if LWIP_NETIF_HOSTNAME - netif->hostname = "lwip"; + netif->hostname = "LWIP"; #endif /* LWIP_NETIF_HOSTNAME */