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