Fix DHCP bug due to variable name change