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