ctrl: take both address and port from vty config
Change-Id: If5b80364c28fb1ca2bc00f4ece851de64c8ce6b1
This commit is contained in:
parent
61021881ac
commit
a7fcbe100c
|
@ -773,8 +773,8 @@ int main(int argc, char **argv)
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_hnb_gw->ctrl = ctrl_interface_setup_dynip2(g_hnb_gw, ctrl_vty_get_bind_addr(), OSMO_CTRL_PORT_HNBGW,
|
g_hnb_gw->ctrl = ctrl_interface_setup2(g_hnb_gw, OSMO_CTRL_PORT_HNBGW, hnb_ctrl_node_lookup,
|
||||||
hnb_ctrl_node_lookup, _LAST_CTRL_NODE_HNB);
|
_LAST_CTRL_NODE_HNB);
|
||||||
if (!g_hnb_gw->ctrl) {
|
if (!g_hnb_gw->ctrl) {
|
||||||
LOGP(DMAIN, LOGL_ERROR, "Failed to create CTRL interface on %s:%u\n",
|
LOGP(DMAIN, LOGL_ERROR, "Failed to create CTRL interface on %s:%u\n",
|
||||||
ctrl_vty_get_bind_addr(), OSMO_CTRL_PORT_HNBGW);
|
ctrl_vty_get_bind_addr(), OSMO_CTRL_PORT_HNBGW);
|
||||||
|
|
Loading…
Reference in New Issue