DHCP fix by Andy Lindsay, fixes #69