Skip to content

Commit

Permalink
Update OptionSettingForm.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Oct 12, 2019
1 parent 0091a58 commit fe0bd59
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions v2rayN/v2rayN/Forms/OptionSettingForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ private void InitBase()
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();
Expand Down

0 comments on commit fe0bd59

Please sign in to comment.