<p>osmith <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/14601">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  fixeria: Looks good to me, but someone else must approve
  laforge: Looks good to me, but someone else must approve
  osmith: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">vty: allow 0 as conn-timeout to disable it<br><br>VTY command to disable conn-timeout again, after it has been enabled.<br>conn-timeout was introduced in [1].<br><br>[1] Change-Id I18886052e090466f73829133c24f011806cc1fe0.<br>Change-Id: I7dee7dafaaf4bb93fd692ea06b52b9e012beac6d<br>---<br>M src/libosmo-mgcp/mgcp_vty.c<br>1 file changed, 4 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/libosmo-mgcp/mgcp_vty.c b/src/libosmo-mgcp/mgcp_vty.c</span><br><span>index 06aa7c8..a479b95 100644</span><br><span>--- a/src/libosmo-mgcp/mgcp_vty.c</span><br><span>+++ b/src/libosmo-mgcp/mgcp_vty.c</span><br><span>@@ -1379,10 +1379,10 @@</span><br><span> </span><br><span> DEFUN(cfg_mgcp_conn_timeout,</span><br><span>       cfg_mgcp_conn_timeout_cmd,</span><br><span style="color: hsl(0, 100%, 40%);">-      "conn-timeout <1-65534>",</span><br><span style="color: hsl(0, 100%, 40%);">-      "Set a time after which inactive connections (CIs) are closed. This can be used to work around interoperability"</span><br><span style="color: hsl(0, 100%, 40%);">-      " problems causing connections to stay open forever, and slowly exhausting all available ports. Do not enable"</span><br><span style="color: hsl(0, 100%, 40%);">-      " when LCLS is used (connections in LCLS state appear to be inactive)!\n"</span><br><span style="color: hsl(120, 100%, 40%);">+      "conn-timeout <0-65534>",</span><br><span style="color: hsl(120, 100%, 40%);">+      "Set a time after which inactive connections (CIs) are closed. Set to 0 to disable timeout. This can be used to"</span><br><span style="color: hsl(120, 100%, 40%);">+      " work around interoperability problems causing connections to stay open forever, and slowly exhausting all"</span><br><span style="color: hsl(120, 100%, 40%);">+      " available ports. Do not enable when LCLS is used (connections in LCLS state appear to be inactive)!\n"</span><br><span>       "Timeout value (sec.)\n")</span><br><span> {</span><br><span>       g_cfg->conn_timeout = strtoul(argv[0], NULL, 10);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-mgw/+/14601">change 14601</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-mgw/+/14601"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-mgw </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I7dee7dafaaf4bb93fd692ea06b52b9e012beac6d </div>
<div style="display:none"> Gerrit-Change-Number: 14601 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Hoernchen <ewild@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>