1
0
mirror of https://github.com/Ylianst/MeshCentralRouter synced 2025-12-06 00:13:33 +00:00

Fixed Relay Map Ports.

This commit is contained in:
Ylian Saint-Hilaire
2021-03-03 11:00:58 -08:00
parent bb6c85c5a7
commit aae71ece59

View File

@@ -114,11 +114,11 @@ namespace MeshCentralRouter
private void appComboBox_SelectedIndexChanged(object sender, EventArgs e) private void appComboBox_SelectedIndexChanged(object sender, EventArgs e)
{ {
if (appComboBox.SelectedIndex == 1) { remoteNumericUpDown.Value = 80; } if (appComboBox.SelectedIndex == 1) { remoteNumericUpDown.Value = 80; } // HTTP
if (appComboBox.SelectedIndex == 2) { remoteNumericUpDown.Value = 443; } if (appComboBox.SelectedIndex == 2) { remoteNumericUpDown.Value = 443; } // HTTPS
if (appComboBox.SelectedIndex == 3) { remoteNumericUpDown.Value = 3389; } if (appComboBox.SelectedIndex == 3) { remoteNumericUpDown.Value = 22; } // Putty
if (appComboBox.SelectedIndex == 4) { remoteNumericUpDown.Value = 22; } if (appComboBox.SelectedIndex == 4) { remoteNumericUpDown.Value = 3389; } // RDP
if (appComboBox.SelectedIndex == 5) { remoteNumericUpDown.Value = 22; } if (appComboBox.SelectedIndex == 5) { remoteNumericUpDown.Value = 22; } // WinSCP
} }
private void updateInfo() private void updateInfo()