Fix checking DHCP end IP is in range

Cut-paste bug