Fix DHCP, code style, PRIMARY_TABLE, and config options