Fix DHCP detection.