enable dhcp hostname in station mode

This commit is contained in:
j3d1 2021-11-21 00:16:45 +01:00
parent 503e66a500
commit 7aacecd5be
3 changed files with 8 additions and 8 deletions

View file

@ -365,7 +365,7 @@ ethernetif_init(struct netif *netif)
/* Initialize interface hostname */
char *hostname = NULL;
/* Disabled for now as there were reports of crashes here, sysparam issues */
/* sysparam_get_string("hostname", &hostname); */
sysparam_get_string("hostname", &hostname);
if (hostname && strlen(hostname) == 0) {
free(hostname);
hostname = NULL;