aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2022-12-17 20:50:14 +0300
committerMax <msuraev@sysmocom.de>2022-12-17 20:50:14 +0300
commit038e3d6426dbee877312c87a24c79188119142b2 (patch)
tree796ad13407589b6af041a060a3971b1dd7afb01a
parent8284fb053dbfbc70438684cf47b65d1269142187 (diff)
ctrl: take both address and port from vty config
-rw-r--r--src/osmo-msc/msc_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c
index c6514c24d..5e44e9b1c 100644
--- a/src/osmo-msc/msc_main.c
+++ b/src/osmo-msc/msc_main.c
@@ -693,8 +693,7 @@ int main(int argc, char **argv)
/* start control interface after reading config for
* ctrl_vty_get_bind_addr() */
- msc_network->ctrl = ctrl_interface_setup_dynip(msc_network, ctrl_vty_get_bind_addr(),
- OSMO_CTRL_PORT_MSC, NULL);
+ msc_network->ctrl = ctrl_interface_setup(msc_network, OSMO_CTRL_PORT_MSC, NULL);
if (!msc_network->ctrl) {
fprintf(stderr, "Failed to initialize control interface. Exiting.\n");
return -1;