ctrl: take both address and port from vty config

Change-Id: Id7d1425e603cc62a62a63d1057291861f02782ba
This commit is contained in:
Max 2022-12-17 21:26:49 +03:00
parent ac726b1147
commit 934e1016ff
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ int main(int argc, char *argv[])
if (rc < 0)
exit(1);
g_ctrlh = ctrl_interface_setup_dynip(NULL, ctrl_vty_get_bind_addr(), OSMO_CTRL_PORT_TRX, NULL);
g_ctrlh = ctrl_interface_setup(NULL, OSMO_CTRL_PORT_TRX, NULL);
if (!g_ctrlh) {
LOG(ERROR) << "Failed to create CTRL interface.\n";
exit(1);