Change in osmo-pcu[master]: gprs_ns2: migrate to the new vty syntax

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 Jan 27 20:24:05 UTC 2021


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/22507 )


Change subject: gprs_ns2: migrate to the new vty syntax
......................................................................

gprs_ns2: migrate to the new vty syntax

This also changes the vty configuration.

Depends-on: I8c3f2afecc74b78f7f914f7dce166cbcb63444eb (libosmocore)
Change-Id: I14af821a8d1fda670643c3d5f81299a3abf3c583
---
M src/pcu_main.cpp
1 file changed, 1 insertion(+), 3 deletions(-)



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

diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index ea7e341..003cabb 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -270,7 +270,7 @@
 		exit(1);
 	}
 	bssgp_set_bssgp_callback(gprs_gp_send_cb, pcu->nsi);
-	gprs_ns2_vty_init(pcu->nsi, NULL);
+	gprs_ns2_vty_init(pcu->nsi);
 
 	rc = vty_read_config_file(config_file, NULL);
 	if (rc < 0 && config_given) {
@@ -282,8 +282,6 @@
 		fprintf(stderr, "No config file: '%s' Using default config.\n",
 			config_file);
 
-	gprs_ns2_vty_create();
-
 	rc = telnet_init_dynif(tall_pcu_ctx, NULL, vty_get_bind_addr(),
 			       OSMO_VTY_PORT_PCU);
 	if (rc < 0) {

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I14af821a8d1fda670643c3d5f81299a3abf3c583
Gerrit-Change-Number: 22507
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/20210127/bd1e3ceb/attachment.htm>


More information about the gerrit-log mailing list