[PATCH v5 09/13] conf: Move address configuration into helper function