simplify dhcp gen