ctrl: take both address and port from vty config
Change-Id: I9bb88fa53a91cc96440d83958450729fa433a04b
diff --git a/src/gb_proxy_main.c b/src/gb_proxy_main.c
index ba49a77..da69f9c 100644
--- a/src/gb_proxy_main.c
+++ b/src/gb_proxy_main.c
@@ -341,7 +341,7 @@
/* 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);