From aae71ece59721e2daa9781a0ad08727c60dc7122 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Wed, 3 Mar 2021 11:00:58 -0800 Subject: [PATCH] Fixed Relay Map Ports. --- AddRelayMapForm.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/AddRelayMapForm.cs b/AddRelayMapForm.cs index fc3dd94..9f2797c 100644 --- a/AddRelayMapForm.cs +++ b/AddRelayMapForm.cs @@ -114,11 +114,11 @@ namespace MeshCentralRouter private void appComboBox_SelectedIndexChanged(object sender, EventArgs e) { - if (appComboBox.SelectedIndex == 1) { remoteNumericUpDown.Value = 80; } - if (appComboBox.SelectedIndex == 2) { remoteNumericUpDown.Value = 443; } - if (appComboBox.SelectedIndex == 3) { remoteNumericUpDown.Value = 3389; } - if (appComboBox.SelectedIndex == 4) { remoteNumericUpDown.Value = 22; } - if (appComboBox.SelectedIndex == 5) { remoteNumericUpDown.Value = 22; } + if (appComboBox.SelectedIndex == 1) { remoteNumericUpDown.Value = 80; } // HTTP + if (appComboBox.SelectedIndex == 2) { remoteNumericUpDown.Value = 443; } // HTTPS + if (appComboBox.SelectedIndex == 3) { remoteNumericUpDown.Value = 22; } // Putty + if (appComboBox.SelectedIndex == 4) { remoteNumericUpDown.Value = 3389; } // RDP + if (appComboBox.SelectedIndex == 5) { remoteNumericUpDown.Value = 22; } // WinSCP } private void updateInfo()