Change in osmo-pcu[master]: pcu_l1_if: print NSVC address in more common format

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Fri Oct 9 14:53:41 UTC 2020


Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/20514 )


Change subject: pcu_l1_if: print NSVC address in more common format
......................................................................

pcu_l1_if: print NSVC address in more common format

Change-Id: I5aac1b0624d127ef92a7b9c791f6b409e9e6055a
---
M src/pcu_l1_if.cpp
1 file changed, 2 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/14/20514/1

diff --git a/src/pcu_l1_if.cpp b/src/pcu_l1_if.cpp
index 542c9a4..99d4a58 100644
--- a/src/pcu_l1_if.cpp
+++ b/src/pcu_l1_if.cpp
@@ -607,13 +607,12 @@
 		}
 
 		LOGP(DL1IF, LOGL_DEBUG, " NS%u nsvci=%u\n", i, info_ind->nsvci[i]);
-		LOGP(DL1IF, LOGL_DEBUG, " NS%u local_port=%u\n", i, info_ind->local_port[i]);
-		LOGP(DL1IF, LOGL_DEBUG, " NS%u remote_port=%u\n", i, info_ind->remote_port[i]);
 
 		if (osmo_sockaddr_str_from_sockaddr(&sockstr, &remote_sockaddr.u.sas))
 			strcpy(sockstr.ip, "invalid");
 
-		LOGP(DL1IF, LOGL_DEBUG, " NS%u remote_ip=%s\n", i, sockstr.ip);
+		LOGP(DL1IF, LOGL_DEBUG, " NS%u address: r=%s:%u<->l=NULL:%u\n",
+		     i, sockstr.ip, sockstr.port, info_ind->local_port[i]);
 		rc = gprs_nsvc_create_and_connect(bts,
 						  &local_sockaddr, &remote_sockaddr,
 						  info_ind->nsei, info_ind->nsvci[i]);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/20514
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I5aac1b0624d127ef92a7b9c791f6b409e9e6055a
Gerrit-Change-Number: 20514
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201009/34d231a4/attachment.htm>


More information about the gerrit-log mailing list