ENH: fix failure when setting up dhcp for interface already set up to dhcp mode.