Fixed the dhcp toggle according to issue #28