[PATCH 12/18] conf: Move check for mapping port 0 to caller