<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-trx/+/14893">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Bind CTRL port to IP addr specified in VTY config<br><br>Before this commit, osmo-trx was always setting its CTRL socket to<br>listen on 127.0.0.1.<br><br>Change-Id: I61a06c1b9c20a906e7030f824a93370d041be7b9<br>---<br>M Transceiver52M/osmo-trx.cpp<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/93/14893/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/Transceiver52M/osmo-trx.cpp b/Transceiver52M/osmo-trx.cpp</span><br><span>index 8a3f1e3..dee1302 100644</span><br><span>--- a/Transceiver52M/osmo-trx.cpp</span><br><span>+++ b/Transceiver52M/osmo-trx.cpp</span><br><span>@@ -600,7 +600,7 @@</span><br><span>    if (rc < 0)</span><br><span>               exit(1);</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-    g_ctrlh = ctrl_interface_setup(NULL, OSMO_CTRL_PORT_TRX, NULL);</span><br><span style="color: hsl(120, 100%, 40%);">+       g_ctrlh = ctrl_interface_setup_dynip(NULL, ctrl_vty_get_bind_addr(), OSMO_CTRL_PORT_TRX, NULL);</span><br><span>      if (!g_ctrlh) {</span><br><span>              LOG(ERROR) << "Failed to create CTRL interface.\n";</span><br><span>          exit(1);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-trx/+/14893">change 14893</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-trx/+/14893"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-trx </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I61a06c1b9c20a906e7030f824a93370d041be7b9 </div>
<div style="display:none"> Gerrit-Change-Number: 14893 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>