[PATCH 2/2] conf: Correct length checking of interface names in conf_ports()