[Asterisk-code-review] cli: Display correct unit for HTTP timeout in "manager show ... (asterisk[13])
Corey Farrell
asteriskteam at digium.com
Fri May 11 12:28:29 CDT 2018
Corey Farrell has uploaded this change for review. ( https://gerrit.asterisk.org/8980
Change subject: cli: Display correct unit for HTTP timeout in "manager show settings".
......................................................................
cli: Display correct unit for HTTP timeout in "manager show settings".
HTTP timeout is in seconds, not minutes.
ASTERISK-27852 #close
Change-Id: Ie6640835cb07307555741f9b559c2eb876d9343e
---
M main/manager.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/80/8980/1
diff --git a/main/manager.c b/main/manager.c
index 46bc440..1b3029b 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -8484,7 +8484,7 @@
ast_cli(a->fd, FORMAT, "Manager (AMI):", AST_CLI_YESNO(manager_enabled));
ast_cli(a->fd, FORMAT, "Web Manager (AMI/HTTP):", AST_CLI_YESNO(webmanager_enabled));
ast_cli(a->fd, FORMAT, "TCP Bindaddress:", manager_enabled != 0 ? ast_sockaddr_stringify(&ami_desc.local_address) : "Disabled");
- ast_cli(a->fd, FORMAT2, "HTTP Timeout (minutes):", httptimeout);
+ ast_cli(a->fd, FORMAT2, "HTTP Timeout (seconds):", httptimeout);
ast_cli(a->fd, FORMAT, "TLS Enable:", AST_CLI_YESNO(ami_tls_cfg.enabled));
ast_cli(a->fd, FORMAT, "TLS Bindaddress:", ami_tls_cfg.enabled != 0 ? ast_sockaddr_stringify(&amis_desc.local_address) : "Disabled");
ast_cli(a->fd, FORMAT, "TLS Certfile:", ami_tls_cfg.certfile);
--
To view, visit https://gerrit.asterisk.org/8980
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie6640835cb07307555741f9b559c2eb876d9343e
Gerrit-Change-Number: 8980
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180511/4bcb8fb1/attachment.html>
More information about the asterisk-code-review
mailing list