From 7f0b9084805d7d934cf0820d396e12236ddd3cae Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 13 Feb 2018 14:43:00 +0100 Subject: SS7: clarify handling of stream opening error Add comment clarifying why we've just logged error but continued anyway. Change-Id: I2ce55983b255b0b50fd5142d6ddf188dc8ee20b9 --- src/osmo_ss7.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c index 7f82f6e..30677b9 100644 --- a/src/osmo_ss7.c +++ b/src/osmo_ss7.c @@ -1251,6 +1251,8 @@ int osmo_ss7_asp_restart(struct osmo_ss7_asp *asp) if (rc < 0) { LOGSS7(asp->inst, LOGL_ERROR, "Unable to open stream" " client for ASP %s\n", asp->cfg.name); + /* we don't return error in here because osmo_stream_cli_open2() + will continue to retry to connect so the error is transient */ } /* TODO: make this configurable and not implicit */ role = XUA_ASPFSM_ROLE_ASP; -- cgit v1.2.3