aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gb_proxy_main.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-04 11:10:09 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-04 11:37:28 +0200
commit18739ea32d5030f5080158fbdd2c3bf8ab6d01e2 (patch)
tree50eccd73aade98678a48da4f9d995774f455778c /openbsc/src/gprs/gb_proxy_main.c
parent035b874fdfaad62b3035b3ff3b8d7d3011629893 (diff)
gbproxy: Move the VTY code into the vty file and create public API
Create public accessors to the core of the peer to allow to simplify the test and separate concerns. Done with Jacob.
Diffstat (limited to 'openbsc/src/gprs/gb_proxy_main.c')
-rw-r--r--openbsc/src/gprs/gb_proxy_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/gprs/gb_proxy_main.c b/openbsc/src/gprs/gb_proxy_main.c
index 1f140d48d..773c98336 100644
--- a/openbsc/src/gprs/gb_proxy_main.c
+++ b/openbsc/src/gprs/gb_proxy_main.c
@@ -259,6 +259,7 @@ int main(int argc, char **argv)
LOGP(DGPRS, LOGL_ERROR, "Unable to instantiate NS\n");
exit(1);
}
+ gbproxy_init_config(&gbcfg);
gbcfg.nsi = bssgp_nsi;
gprs_ns_vty_init(bssgp_nsi);
gprs_ns_set_log_ss(DNS);