pespin submitted this change.

View Change

Approvals: laforge: Looks good to me, but someone else must approve osmith: Looks good to me, approved Jenkins Builder: Verified
ipaccess: Log ip_addr+port of srv_link failing to start

Change-Id: Ic879e4fac19311f952e71264fac6ea4239cc4409
---
M src/input/ipaccess.c
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index a8e4cc4..5cb1123 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -981,7 +981,8 @@
osmo_stream_srv_link_set_accept_cb(oml_link, ipaccess_bsc_oml_accept_cb);

if (osmo_stream_srv_link_open(oml_link)) {
- LOGPIL(line, DLINP, LOGL_ERROR, "cannot open OML BTS link: %s\n", strerror(errno));
+ LOGPIL(line, DLINP, LOGL_ERROR, "cannot open OML BTS link %s:%u (%s)\n",
+ ipa, IPA_TCP_PORT_OML, strerror(errno));
osmo_stream_srv_link_destroy(oml_link);
return -EIO;
}
@@ -998,7 +999,8 @@
osmo_stream_srv_link_set_accept_cb(rsl_link, ipaccess_bsc_rsl_accept_cb);

if (osmo_stream_srv_link_open(rsl_link)) {
- LOGPIL(line, DLINP, LOGL_ERROR, "cannot open RSL BTS link: %s\n", strerror(errno));
+ LOGPIL(line, DLINP, LOGL_ERROR, "cannot open RSL BTS link %s:%u (%s)\n",
+ ipa, IPA_TCP_PORT_RSL, strerror(errno));
osmo_stream_srv_link_destroy(rsl_link);
return -EIO;
}

To view, visit change 39136. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Ic879e4fac19311f952e71264fac6ea4239cc4409
Gerrit-Change-Number: 39136
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>