msuraev has submitted this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/30664 )
Change subject: ctrl: take both address and port from vty config ......................................................................
ctrl: take both address and port from vty config
Change-Id: I31e971270a6658366651b29c99ec5247656c62c6 --- M src/osmo-msc/msc_main.c 1 file changed, 1 insertion(+), 2 deletions(-)
Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved
diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c index c6514c2..5e44e9b 100644 --- a/src/osmo-msc/msc_main.c +++ b/src/osmo-msc/msc_main.c @@ -693,8 +693,7 @@
/* 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;