Skip to content

Commit

Permalink
Bug fix system proxy for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Dec 19, 2024
1 parent 2cd2e88 commit 85cb1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2rayN/ServiceLib/Handler/SysProxy/ProxySettingOSX.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private static List<CmdItem> GetSetCmds(string host, int port, string exceptions
lstCmd.Add(new CmdItem()
{
Cmd = "networksetup",
Arguments = [$"-{type}", interf, host, (type.Contains("socks") ? (port - 1) : port).ToString()]
Arguments = [$"-{type}", interf, host, port.ToString()]
});
}
if (exceptions.IsNotEmpty())
Expand Down

0 comments on commit 85cb1d1

Please sign in to comment.