[PATCH v2 1/6] zoneconf.cgi: Change NIC display order, improve code