pespin submitted this change.
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.