aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2020-12-21 12:56:01 +0100
committerlynxis lazus <lynxis@fe80.eu>2021-01-04 16:27:41 +0000
commit51730f7a8cebb800af8137ce7d4c865af87a1fad (patch)
tree514fcae4a7f4ff9f7b41ed1bf8a91283555b8c64 /src
parentf23e2db752ee7213519144202120cac36493b579 (diff)
gbproxy: use ns2 vty2
The new gprs_ns2 vty2 support ip-sns and reorganize the network service configuration Depends: I163279cf57e84198dc8c53e1c109f5a9474670e9 (libosmocore) Change-Id: I2a18dcf035f1fc7304a0c7c7c83b5e8e15429d2b
Diffstat (limited to 'src')
-rw-r--r--src/gbproxy/gb_proxy_main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gbproxy/gb_proxy_main.c b/src/gbproxy/gb_proxy_main.c
index c660edef8..37afb5e75 100644
--- a/src/gbproxy/gb_proxy_main.c
+++ b/src/gbproxy/gb_proxy_main.c
@@ -289,7 +289,7 @@ int main(int argc, char **argv)
exit(1);
}
- gprs_ns2_vty_init(gbcfg->nsi, NULL);
+ gprs_ns2_vty2_init(gbcfg->nsi);
logging_vty_add_deprecated_subsys(tall_sgsn_ctx, "bssgp");
gprs_ns2_dynamic_create_nse(gbcfg->nsi, true);
@@ -301,10 +301,6 @@ int main(int argc, char **argv)
exit(2);
}
- gprs_ns2_vty_create();
-
- /* TODO: Warn if we create a gbproxy_nse for an NSEI which we don't have a bind */
-
/* start telnet after reading config for vty_get_bind_addr() */
rc = telnet_init_dynif(tall_sgsn_ctx, NULL,
vty_get_bind_addr(), OSMO_VTY_PORT_GBPROXY);