Added a check for the dhcp entry