ctrl: take both address and port from vty config

Change-Id: Ie1330b152a2e5cdcdb80a1c958e7c1d784b78eab
changes/68/30668/1
Max 2022-12-17 21:16:58 +03:00
parent e39ff86dd9
commit e7ccfdb4aa
1 changed files with 1 additions and 2 deletions

View File

@ -479,8 +479,7 @@ int main(int argc, char **argv)
/* start control interface after reading config for
* ctrl_vty_get_bind_addr() */
g_ctrlh = ctrl_interface_setup_dynip(NULL, ctrl_vty_get_bind_addr(),
OSMO_CTRL_PORT_SGSN, NULL);
g_ctrlh = ctrl_interface_setup(NULL, OSMO_CTRL_PORT_SGSN, NULL);
if (!g_ctrlh) {
LOGP(DGPRS, LOGL_ERROR, "Failed to create CTRL interface.\n");
exit(1);