Bug #3832 rewrite logic for dhcpd config, avoid dual code path