SuperHouse / esp-open-rtos

Open source FreeRTOS-based ESP8266 software framework
BSD 3-Clause "New" or "Revised" License
1.53k stars 491 forks source link

wificfg: default the hostname in all modes. #646

Closed ourairquality closed 6 years ago

ourairquality commented 6 years ago

A hostname is also useful in AP mode, so also default it in AP mode - it was previously only defaulted in station mode.

Correct the host redirection logic, to work when no hostname is defined.