ctrl: take both address and port from vty config
Change-Id: I9bb88fa53a91cc96440d83958450729fa433a04b
This commit is contained in:
parent
954ce62635
commit
6a448976a8
|
@ -341,7 +341,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
/* Start control interface after getting config for
|
/* Start control interface after getting config for
|
||||||
* ctrl_vty_get_bind_addr() */
|
* 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) {
|
if (!ctrl) {
|
||||||
LOGP(DGPRS, LOGL_FATAL, "Failed to create CTRL interface.\n");
|
LOGP(DGPRS, LOGL_FATAL, "Failed to create CTRL interface.\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
Loading…
Reference in New Issue