applied patch for dhcp unti tests
Taken from https://savannah.nongnu.org/patch/?8501