Change in libosmocore[master]: ns2: vty: fix return code of vtyvc_by_nsei

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

lynxis lazus gerrit-no-reply at lists.osmocom.org
Wed Sep 23 21:39:17 UTC 2020


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/20264 )


Change subject: ns2: vty: fix return code of vtyvc_by_nsei
......................................................................

ns2: vty: fix return code of vtyvc_by_nsei

This prevented the parsing of persistent nsvcs.

Change-Id: I297409f557f17df680ac76018b4202eb99713021
---
M src/gb/gprs_ns2_vty.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/64/20264/1

diff --git a/src/gb/gprs_ns2_vty.c b/src/gb/gprs_ns2_vty.c
index 81f88b6..302c610 100644
--- a/src/gb/gprs_ns2_vty.c
+++ b/src/gb/gprs_ns2_vty.c
@@ -151,7 +151,7 @@
 		vtyvc->nsei = nsei;
 	}
 
-	return NULL;
+	return vtyvc;
 }
 
 static int config_write_ns(struct vty *vty)

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I297409f557f17df680ac76018b4202eb99713021
Gerrit-Change-Number: 20264
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200923/0f7499ef/attachment.htm>


More information about the gerrit-log mailing list