aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-11-07 21:30:23 +0100
committerHarald Welte <laforge@gnumonks.org>2016-11-07 21:30:23 +0100
commit1af212ab902f384462101e37a1b11012e04519ed (patch)
tree790d28762885dd00116418181650eb4987127feb
parentcd3bfbaa0e1e0e1285a460b8335f78c801490bf2 (diff)
Change to build against libosmogb change
libosmogb VTY code has been modified to allow the use fo multiple NS instances in Change-Id I483e9984f046e0e698c65b59034b3a6141e7ca73. This commit simply makes osmo-sgsn and osmo-gbproxy build (and work) again, still with only one NS instance. Change-Id: I9f3453bab23258f6dad352e8e3aeb20792cb5c9a
-rw-r--r--openbsc/src/gprs/gb_proxy_main.c2
-rw-r--r--openbsc/src/gprs/sgsn_main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/gprs/gb_proxy_main.c b/openbsc/src/gprs/gb_proxy_main.c
index 04875c7c2..0e017c624 100644
--- a/openbsc/src/gprs/gb_proxy_main.c
+++ b/openbsc/src/gprs/gb_proxy_main.c
@@ -257,7 +257,7 @@ int main(int argc, char **argv)
}
gbproxy_init_config(&gbcfg);
gbcfg.nsi = bssgp_nsi;
- gprs_ns_vty_init(bssgp_nsi);
+ gprs_ns_vty_init();
gprs_ns_set_log_ss(DNS);
bssgp_set_log_ss(DBSSGP);
osmo_signal_register_handler(SS_L_NS, &gbprox_signal, &gbcfg);
diff --git a/openbsc/src/gprs/sgsn_main.c b/openbsc/src/gprs/sgsn_main.c
index b4be6318c..a8f181b97 100644
--- a/openbsc/src/gprs/sgsn_main.c
+++ b/openbsc/src/gprs/sgsn_main.c
@@ -366,7 +366,7 @@ int main(int argc, char **argv)
sgsn_rate_ctr_init();
sgsn_inst_init();
- gprs_ns_vty_init(bssgp_nsi);
+ gprs_ns_vty_init();
bssgp_vty_init();
gprs_llc_vty_init();
gprs_sndcp_vty_init();