Update OptionSettingForm.cs

pull/188/head 2.44
2dust 5 years ago
parent 0091a58796
commit fe0bd5938b

@ -42,6 +42,10 @@ namespace v2rayN.Forms
cmbprotocol.Text = config.inbound[0].protocol.ToString(); cmbprotocol.Text = config.inbound[0].protocol.ToString();
chkudpEnabled.Checked = config.inbound[0].udpEnabled; chkudpEnabled.Checked = config.inbound[0].udpEnabled;
chksniffingEnabled.Checked = config.inbound[0].sniffingEnabled; chksniffingEnabled.Checked = config.inbound[0].sniffingEnabled;
txtlocalPort2.Text = "socks + 1";
cmbprotocol2.Text = "http";
if (config.inbound.Count > 1) if (config.inbound.Count > 1)
{ {
txtlocalPort2.Text = config.inbound[1].localPort.ToString(); txtlocalPort2.Text = config.inbound[1].localPort.ToString();

Loading…
Cancel
Save