From aff0758c573cbb79fc5b848e1eba070917fe961d Mon Sep 17 00:00:00 2001 From: Fanda Vacek Date: Tue, 3 Jan 2023 15:18:23 +0100 Subject: [PATCH] shvbroker::AppCliOptions symbolic port names updated --- libshvbroker/src/appclioptions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libshvbroker/src/appclioptions.cpp b/libshvbroker/src/appclioptions.cpp index 12a8c134f..b2baa8106 100644 --- a/libshvbroker/src/appclioptions.cpp +++ b/libshvbroker/src/appclioptions.cpp @@ -18,9 +18,9 @@ AppCliOptions::AppCliOptions() //addOption("server.websocket.enabled").setType(cp::RpcValue::Type::Bool).setNames("--ws", "--server-ws-enabled").setComment("Server web socket enabled").setDefaultValue(3777); #ifdef WITH_SHV_WEBSOCKETS addOption("server.websocket.port").setType(cp::RpcValue::Type::Int).setNames("--server-ws-port") - .setComment("Web socket server port, set this option to enable websocket server").setDefaultValue(3777); + .setComment("Web socket server port, set this option to enable websocket server").setDefaultValue(cp::IRpcConnection::DEFAULT_RPC_BROKER_WEB_SOCKET_PORT_NONSECURED); addOption("server.websocket.sslport").setType(cp::RpcValue::Type::Int).setNames("--server-wss-port") - .setComment("Secure web socket server port, set this option to enable secure websocket server").setDefaultValue(3778); + .setComment("Secure web socket server port, set this option to enable secure websocket server").setDefaultValue(cp::IRpcConnection::DEFAULT_RPC_BROKER_WEB_SOCKET_PORT_SECURED); #endif addOption("server.ssl.key").setType(cp::RpcValue::Type::String).setNames("--server-ssl-key") .setComment("SSL key file").setDefaultValue("wss.key");