From f28c64a3dc1e66f9d1e49650d5b2ab15795b9e53 Mon Sep 17 00:00:00 2001 From: Jari Matilainen Date: Sun, 4 Jun 2017 19:47:30 +0200 Subject: [PATCH] Make backward compatible with ssl flags --- src/fe-common/core/fe-server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fe-common/core/fe-server.c b/src/fe-common/core/fe-server.c index 6e373139..75f857c2 100644 --- a/src/fe-common/core/fe-server.c +++ b/src/fe-common/core/fe-server.c @@ -124,7 +124,8 @@ static void cmd_server_add_modify(const char *data, gboolean add) port = atoi(portstr); else if (value != NULL && *value != '\0') port = atoi(value); - else if (g_hash_table_lookup(optlist, "tls")) + else if (g_hash_table_lookup(optlist, "tls") || + g_hash_table_lookup(optlist, "ssl")) port = DEFAULT_SERVER_ADD_TLS_PORT; else port = DEFAULT_SERVER_ADD_PORT;