ctrl: take both address and port from vty config

Change-Id: I9bb88fa53a91cc96440d83958450729fa433a04b
This commit is contained in:
Max 2022-12-17 21:20:10 +03:00
parent 954ce62635
commit 6a448976a8
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ int main(int argc, char **argv)
/* Start control interface after getting config for
* ctrl_vty_get_bind_addr() */
ctrl = ctrl_interface_setup_dynip(gbcfg, ctrl_vty_get_bind_addr(), OSMO_CTRL_PORT_GBPROXY, NULL);
ctrl = ctrl_interface_setup(gbcfg, OSMO_CTRL_PORT_GBPROXY, NULL);
if (!ctrl) {
LOGP(DGPRS, LOGL_FATAL, "Failed to create CTRL interface.\n");
exit(1);