add hostname option in dhcp discover

Hostname option has been removed from dhcp discover since IDFv3.2.
But it remains in dhcp request due to which ESP32 can not get IPv4 address
from some APs. Re-add hostname option to dhcp discover to solve this issue.
This commit is contained in:
Xia Xiaotian
2018-12-10 21:03:28 +08:00
committed by bot
parent d75ab3208f
commit c03f84cecf