fixes #238. Removes old half-assed code and alters dhcpd provider function