enable dhcp hostname in station mode
This commit is contained in:
parent
503e66a500
commit
7aacecd5be
3 changed files with 8 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue