aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc_nat
diff options
context:
space:
mode:
authorDaniel Willmann <daniel@totalueberwachung.de>2011-07-22 17:55:42 +0200
committerDaniel Willmann <daniel@totalueberwachung.de>2011-07-28 19:40:26 +0200
commit81671d54b0141b2db57df386ebf8dd7131131a24 (patch)
tree2880fc007e8f99f42649acf2e573d5326dd2f2eb /openbsc/src/osmo-bsc_nat
parent145c58df93e0388ba012b55fc4b70123fb706601 (diff)
libctrl: Change controlif_setup so it returns the ctrl handle
nat: Catch up with controlif_setup API change We now save a control handle reference in the nat osmo-bsc: Catch up with controlif_setup API change We now save a control handle reference in the gsm network
Diffstat (limited to 'openbsc/src/osmo-bsc_nat')
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat.c b/openbsc/src/osmo-bsc_nat/bsc_nat.c
index 445f45915..50e51f191 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat.c
@@ -1750,7 +1750,7 @@ int main(int argc, char **argv)
exit(1);
}
- controlif_setup(NULL, 4250);
+ nat->ctrl = controlif_setup(NULL, 4250);
ctrl_cmd_install(CTRL_NODE_ROOT, &cmd_fwd_cmd);
nat->msc_con->connection_loss = msc_connection_was_lost;