pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmo-abis/+/39136?usp=email )


Change subject: ipaccess: Log ip_addr+port of srv_link failing to start
......................................................................

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(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/36/39136/1

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 https://gerrit.osmocom.org/c/libosmo-abis/+/39136?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Ic879e4fac19311f952e71264fac6ea4239cc4409
Gerrit-Change-Number: 39136
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>

Reply via email to