[PATCH v2] conf: Fix typo and logic in conf_ports() check for port binding