From: Jean Flach Date: Thu, 30 Apr 2015 10:52:35 +0000 (+0200) Subject: Fix Port wrong default port in Node Wizard X-Git-Tag: v2.4.0~674 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f907a7f6178c0819ab368bb087476c5735824fba;p=icinga2 Fix Port wrong default port in Node Wizard fixes #9205 --- diff --git a/lib/cli/nodewizardcommand.cpp b/lib/cli/nodewizardcommand.cpp index 3d5e60035..5d0566db4 100644 --- a/lib/cli/nodewizardcommand.cpp +++ b/lib/cli/nodewizardcommand.cpp @@ -170,7 +170,7 @@ wizard_endpoint_loop_start: Log(LogWarning, "cli", "Node to master connection setup skipped"); std::cout << "Connection setup skipped. Please configure your master to connect to this node.\n"; } else { - std::cout << ConsoleColorTag(Console_Bold) << "Please fill out the master connection information:" << ConsoleColorTag(Console_Normal) << "\n"; + std::cout << ConsoleColorTag(Console_Bold) << "Please fill out the master connection information:" << ConsoleColorTag(Console_Normal) << "\n"; std::cout << ConsoleColorTag(Console_Bold) << "Master endpoint host" << ConsoleColorTag(Console_Normal) << " (Your master's IP address or FQDN): "; std::getline(std::cin, answer); @@ -197,7 +197,7 @@ wizard_endpoint_loop_start: tmp = "5665"; tmp.Trim(); - endpoint_buffer += "," + answer; + endpoint_buffer += "," + tmp; } endpoints.push_back(endpoint_buffer);