aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc_nat/bsc_nat_ctrl.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-23 16:25:16 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-23 16:25:16 +0100
commit49f9e5b6b42cae9f6083e5c69c70af0b29b15b23 (patch)
tree544aefa178f61484e1233ffbf83c02d43db30ec1 /openbsc/src/osmo-bsc_nat/bsc_nat_ctrl.c
parentd883db027bb75cb4299a733d005de6ff6a1f426c (diff)
ctrl: Move the lookup into a separate file in preparation for GPRS
For GPRS the look-up via bts/trx does not make any sense and would introduce bad depdencies for the SGSN. Move the look-up code to a new file and introduce new setup methods.
Diffstat (limited to 'openbsc/src/osmo-bsc_nat/bsc_nat_ctrl.c')
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_nat_ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat_ctrl.c b/openbsc/src/osmo-bsc_nat/bsc_nat_ctrl.c
index 2836a1956..b9a1eadf4 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat_ctrl.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat_ctrl.c
@@ -380,7 +380,7 @@ struct ctrl_handle *bsc_nat_controlif_setup(struct bsc_nat *nat, int port)
int rc;
- ctrl = controlif_setup(NULL, 4250);
+ ctrl = bsc_controlif_setup(NULL, 4250);
if (!ctrl) {
fprintf(stderr, "Failed to initialize the control interface. Exiting.\n");
return NULL;