forked from espressif/esp-idf
Fixes regression from 307f45d5 (ip_info should be cleaned, but only if we're running DHCP client on that netif)
Fixes regression from 307f45d5 (ip_info should be cleaned, but only if we're running DHCP client on that netif)