Change in ...osmo-mgw[master]: vty: allow 0 as conn-timeout to disable it

osmith gerrit-no-reply at lists.osmocom.org
Thu Jun 27 07:25:08 UTC 2019


osmith has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-mgw/+/14601 )

Change subject: vty: allow 0 as conn-timeout to disable it
......................................................................

vty: allow 0 as conn-timeout to disable it

VTY command to disable conn-timeout again, after it has been enabled.
conn-timeout was introduced in [1].

[1] Change-Id I18886052e090466f73829133c24f011806cc1fe0.
Change-Id: I7dee7dafaaf4bb93fd692ea06b52b9e012beac6d
---
M src/libosmo-mgcp/mgcp_vty.c
1 file changed, 4 insertions(+), 4 deletions(-)

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



diff --git a/src/libosmo-mgcp/mgcp_vty.c b/src/libosmo-mgcp/mgcp_vty.c
index 06aa7c8..a479b95 100644
--- a/src/libosmo-mgcp/mgcp_vty.c
+++ b/src/libosmo-mgcp/mgcp_vty.c
@@ -1379,10 +1379,10 @@
 
 DEFUN(cfg_mgcp_conn_timeout,
       cfg_mgcp_conn_timeout_cmd,
-      "conn-timeout <1-65534>",
-      "Set a time after which inactive connections (CIs) are closed. This can be used to work around interoperability"
-      " problems causing connections to stay open forever, and slowly exhausting all available ports. Do not enable"
-      " when LCLS is used (connections in LCLS state appear to be inactive)!\n"
+      "conn-timeout <0-65534>",
+      "Set a time after which inactive connections (CIs) are closed. Set to 0 to disable timeout. This can be used to"
+      " work around interoperability problems causing connections to stay open forever, and slowly exhausting all"
+      " available ports. Do not enable when LCLS is used (connections in LCLS state appear to be inactive)!\n"
       "Timeout value (sec.)\n")
 {
 	g_cfg->conn_timeout = strtoul(argv[0], NULL, 10);

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

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I7dee7dafaaf4bb93fd692ea06b52b9e012beac6d
Gerrit-Change-Number: 14601
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190627/a3464360/attachment.html>


More information about the gerrit-log mailing list