Change in libosmocore[master]: gprs-ns2: Fix stringification of NS/FR NSVCI

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/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Dec 1 17:02:02 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/21425 )


Change subject: gprs-ns2: Fix stringification of NS/FR NSVCI
......................................................................

gprs-ns2: Fix stringification of NS/FR NSVCI

Before this commit, gprs_ns2_ll_str_buf() would always return an empty
string.

Change-Id: I6ec07f58fa5cbb7ec4be967b2c72ae75935e4f75
---
M src/gb/gprs_ns2.c
1 file changed, 0 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/25/21425/1

diff --git a/src/gb/gprs_ns2.c b/src/gb/gprs_ns2.c
index 30716fc..7fc737b 100644
--- a/src/gb/gprs_ns2.c
+++ b/src/gb/gprs_ns2.c
@@ -261,11 +261,6 @@
 		snprintf(buf, buf_len, "frgre)");
 		break;
 	case GPRS_NS2_LL_FR:
-		if (!gprs_ns2_is_frgre_bind(nsvc->bind)) {
-			buf[0] = '\0';
-			return buf;
-		}
-
 		snprintf(buf, buf_len, "fr)netif: %s dlci: %u", gprs_ns2_fr_bind_netif(nsvc->bind),
 			 gprs_ns2_fr_nsvc_dlci(nsvc));
 		break;

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I6ec07f58fa5cbb7ec4be967b2c72ae75935e4f75
Gerrit-Change-Number: 21425
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201201/d81165d8/attachment.htm>


More information about the gerrit-log mailing list