From fe0bd5938bacf3ed8d951327b0faf636f433b658 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sat, 12 Oct 2019 09:06:57 +0800 Subject: [PATCH] Update OptionSettingForm.cs --- v2rayN/v2rayN/Forms/OptionSettingForm.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/v2rayN/v2rayN/Forms/OptionSettingForm.cs b/v2rayN/v2rayN/Forms/OptionSettingForm.cs index afd11944..777c1daa 100644 --- a/v2rayN/v2rayN/Forms/OptionSettingForm.cs +++ b/v2rayN/v2rayN/Forms/OptionSettingForm.cs @@ -42,6 +42,10 @@ namespace v2rayN.Forms cmbprotocol.Text = config.inbound[0].protocol.ToString(); chkudpEnabled.Checked = config.inbound[0].udpEnabled; chksniffingEnabled.Checked = config.inbound[0].sniffingEnabled; + + txtlocalPort2.Text = "socks + 1"; + cmbprotocol2.Text = "http"; + if (config.inbound.Count > 1) { txtlocalPort2.Text = config.inbound[1].localPort.ToString();