pespin has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/c/osmo-trx/+/14893 )

Change subject: Bind CTRL port to IP addr specified in VTY config
......................................................................

Bind CTRL port to IP addr specified in VTY config

Before this commit, osmo-trx was always setting its CTRL socket to
listen on 127.0.0.1.

Change-Id: I61a06c1b9c20a906e7030f824a93370d041be7b9
---
M Transceiver52M/osmo-trx.cpp
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/Transceiver52M/osmo-trx.cpp b/Transceiver52M/osmo-trx.cpp
index cd659a7..15f744c 100644
--- a/Transceiver52M/osmo-trx.cpp
+++ b/Transceiver52M/osmo-trx.cpp
@@ -602,7 +602,7 @@
        if (rc < 0)
                exit(1);

-       g_ctrlh = ctrl_interface_setup(NULL, OSMO_CTRL_PORT_TRX, NULL);
+       g_ctrlh = ctrl_interface_setup_dynip(NULL, ctrl_vty_get_bind_addr(), 
OSMO_CTRL_PORT_TRX, NULL);
        if (!g_ctrlh) {
                LOG(ERROR) << "Failed to create CTRL interface.\n";
                exit(1);

--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/14893
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I61a06c1b9c20a906e7030f824a93370d041be7b9
Gerrit-Change-Number: 14893
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to