diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2021-01-25 20:16:08 +0100 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2021-01-28 19:55:14 +0100 |
commit | 54211b1e1bf8e669a43602cb1902067599d0b622 (patch) | |
tree | 33fbacc853dbd059cf302ae628b284a32dca1629 | |
parent | f7ec52560f07f2f3d5488d78c7f616d98ca43733 (diff) |
gprs_ns2: migrate to the new vty syntax
This also changes the vty configuration. If only timeout has been
configured for ns the new configuration is compatible.
For further information see:
https://osmocom.org/projects/libosmocore/wiki/Network_service_(NS)
Depends-on: I8c3f2afecc74b78f7f914f7dce166cbcb63444eb (libosmocore)
Change-Id: I14af821a8d1fda670643c3d5f81299a3abf3c583
-rw-r--r-- | src/pcu_main.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp index ea7e341c..003cabb4 100644 --- a/src/pcu_main.cpp +++ b/src/pcu_main.cpp @@ -270,7 +270,7 @@ int main(int argc, char *argv[]) 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 @@ int main(int argc, char *argv[]) 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) { |