[asterisk-commits] bbryant: trunk r69261 - /trunk/main/manager.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jun 14 08:43:51 MST 2007


Author: bbryant
Date: Thu Jun 14 10:43:50 2007
New Revision: 69261

URL: http://svn.digium.com/view/asterisk?view=rev&rev=69261
Log:
Couple of manager ssl options weren't loading because of a typo.


Modified:
    trunk/main/manager.c

Modified: trunk/main/manager.c
URL: http://svn.digium.com/view/asterisk/trunk/main/manager.c?view=diff&rev=69261&r1=69260&r2=69261
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Thu Jun 14 10:43:50 2007
@@ -3322,11 +3322,11 @@
 
 	for (var = ast_variable_browse(cfg, "general"); var; var = var->next) {
 		val = var->value;
-		if (!strcasecmp(var->name, "ssenable"))
+		if (!strcasecmp(var->name, "sslenable"))
 			ami_tls_cfg.enabled = ast_true(val);
-		else if (!strcasecmp(var->name, "ssbindport"))
+		else if (!strcasecmp(var->name, "sslbindport"))
 			amis_desc.sin.sin_port = htons(atoi(val));
-		else if (!strcasecmp(var->name, "ssbindaddr")) {
+		else if (!strcasecmp(var->name, "sslbindaddr")) {
 			if ((hp = ast_gethostbyname(val, &ahp))) {
 				memcpy(&amis_desc.sin.sin_addr, hp->h_addr, sizeof(amis_desc.sin.sin_addr));
 				have_sslbindaddr = 1;



More information about the asterisk-commits mailing list