laforge has submitted this change. (
https://gerrit.osmocom.org/c/osmo-hnbgw/+/30670 )
Change subject: ctrl: take both address and port from vty config
......................................................................
ctrl: take both address and port from vty config
Change-Id: If5b80364c28fb1ca2bc00f4ece851de64c8ce6b1
---
M src/osmo-hnbgw/hnbgw.c
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Jenkins Builder: Verified
osmith: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
diff --git a/src/osmo-hnbgw/hnbgw.c b/src/osmo-hnbgw/hnbgw.c
index 2836ae1..a5cf533 100644
--- a/src/osmo-hnbgw/hnbgw.c
+++ b/src/osmo-hnbgw/hnbgw.c
@@ -773,8 +773,8 @@
exit(1);
}
- g_hnb_gw->ctrl = ctrl_interface_setup_dynip2(g_hnb_gw,
ctrl_vty_get_bind_addr(), OSMO_CTRL_PORT_HNBGW,
- hnb_ctrl_node_lookup,
_LAST_CTRL_NODE_HNB);
+ g_hnb_gw->ctrl = ctrl_interface_setup2(g_hnb_gw, OSMO_CTRL_PORT_HNBGW,
hnb_ctrl_node_lookup,
+ _LAST_CTRL_NODE_HNB);
if (!g_hnb_gw->ctrl) {
LOGP(DMAIN, LOGL_ERROR, "Failed to create CTRL interface on
%s:%u\n",
ctrl_vty_get_bind_addr(), OSMO_CTRL_PORT_HNBGW);
--
To view, visit https://gerrit.osmocom.org/c/osmo-hnbgw/+/30670
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: If5b80364c28fb1ca2bc00f4ece851de64c8ce6b1
Gerrit-Change-Number: 30670
Gerrit-PatchSet: 1
Gerrit-Owner: msuraev <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged