From 9958278fe662c8b05a5db95bd19cdbf4444300b9 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Sat, 7 Nov 2020 13:29:52 -0800 Subject: [PATCH] Fixed port mapping default ports. --- AddPortMapForm.cs | 4 ++-- AddRelayMapForm.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/AddPortMapForm.cs b/AddPortMapForm.cs index 0265807..455a10c 100644 --- a/AddPortMapForm.cs +++ b/AddPortMapForm.cs @@ -105,8 +105,8 @@ namespace MeshCentralRouter { 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 == 3) { remoteNumericUpDown.Value = 22; } + if (appComboBox.SelectedIndex == 4) { remoteNumericUpDown.Value = 3389; } if (appComboBox.SelectedIndex == 5) { remoteNumericUpDown.Value = 22; } } diff --git a/AddRelayMapForm.cs b/AddRelayMapForm.cs index 2706e59..f1646d2 100644 --- a/AddRelayMapForm.cs +++ b/AddRelayMapForm.cs @@ -107,8 +107,8 @@ namespace MeshCentralRouter { 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 == 3) { remoteNumericUpDown.Value = 22; } + if (appComboBox.SelectedIndex == 4) { remoteNumericUpDown.Value = 3389; } if (appComboBox.SelectedIndex == 5) { remoteNumericUpDown.Value = 22; } }