micropython / micropython-esp32

Old port of MicroPython to the ESP32 -- new port is at https://github.com/micropython/micropython
MIT License
673 stars 216 forks source link

Fix for setting DNS with network.WLAN.ifconfig() #213

Closed MrSurly closed 6 years ago

MrSurly commented 6 years ago

Essentially, setting DNS with ifconfig does not work. Discussion is here: https://github.com/micropython/micropython-esp32/issues/210/

I fixed it up so that setting the DNS works for both STA and AP.

dpgeorge commented 6 years ago

Great, thank you! Merged in 8f04b740736ba8312353e9bd462f4a27cdac5868