[Asterisk-code-review] cli: Display correct unit for HTTP timeout in "manager show ... (asterisk[13])
Jenkins2
asteriskteam at digium.com
Wed May 16 09:40:59 CDT 2018
Jenkins2 has submitted this change and it was merged. ( 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(-)
Approvals:
Joshua Colp: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved
Jenkins2: Approved for Submit
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: merged
Gerrit-Change-Id: Ie6640835cb07307555741f9b559c2eb876d9343e
Gerrit-Change-Number: 8980
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180516/9a603406/attachment.html>
More information about the asterisk-code-review
mailing list