ctrl: take both address and port from vty config

Change-Id: Ib31d67591657e308eebd1e6b7e23f79e6a3656e9
This commit is contained in:
Max 2022-12-17 21:14:57 +03:00
parent 3a55b89777
commit a727e6ed38
1 changed files with 1 additions and 2 deletions

View File

@ -227,8 +227,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_GGSN, NULL);
g_ctrlh = ctrl_interface_setup(NULL, OSMO_CTRL_PORT_GGSN, NULL);
if (!g_ctrlh) {
LOGP(DGGSN, LOGL_ERROR, "Failed to create CTRL interface.\n");
exit(1);