diff options
author | Max <msuraev@sysmocom.de> | 2022-12-17 20:50:14 +0300 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2022-12-17 20:50:14 +0300 |
commit | 038e3d6426dbee877312c87a24c79188119142b2 (patch) | |
tree | 796ad13407589b6af041a060a3971b1dd7afb01a | |
parent | 8284fb053dbfbc70438684cf47b65d1269142187 (diff) |
ctrl: take both address and port from vty config
Change-Id: I31e971270a6658366651b29c99ec5247656c62c6
-rw-r--r-- | src/osmo-msc/msc_main.c | 3 |
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; |