mirror of
https://github.com/netchx/netch.git
synced 2026-04-01 19:15:09 +08:00
fix: SS DLL config
This commit is contained in:
@@ -26,7 +26,7 @@ namespace Netch.Servers.Shadowsocks
|
||||
if (DllFlag())
|
||||
{
|
||||
State = State.Starting;
|
||||
var client = Encoding.UTF8.GetBytes($"{LocalAddress}:{Socks5LocalPort}");
|
||||
var client = Encoding.UTF8.GetBytes($"{LocalAddress ?? Global.Settings.LocalAddress}:{Socks5LocalPort ?? Global.Settings.Socks5LocalPort}");
|
||||
var remote = Encoding.UTF8.GetBytes($"{DNS.Lookup(server.Hostname)}:{server.Port}");
|
||||
var passwd = Encoding.UTF8.GetBytes($"{server.Password}");
|
||||
var method = Encoding.UTF8.GetBytes($"{server.EncryptMethod}");
|
||||
|
||||
Reference in New Issue
Block a user