ctrl: take both address and port from vty config
Change-Id: Ib31d67591657e308eebd1e6b7e23f79e6a3656e9
This commit is contained in:
parent
3a55b89777
commit
a727e6ed38
|
@ -227,8 +227,7 @@ int main(int argc, char **argv)
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
||||||
g_ctrlh = ctrl_interface_setup_dynip(NULL, ctrl_vty_get_bind_addr(),
|
g_ctrlh = ctrl_interface_setup(NULL, OSMO_CTRL_PORT_GGSN, NULL);
|
||||||
OSMO_CTRL_PORT_GGSN, NULL);
|
|
||||||
if (!g_ctrlh) {
|
if (!g_ctrlh) {
|
||||||
LOGP(DGGSN, LOGL_ERROR, "Failed to create CTRL interface.\n");
|
LOGP(DGGSN, LOGL_ERROR, "Failed to create CTRL interface.\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
Loading…
Reference in New Issue