From 19ad24c2d552b6ac4db6c96dc976e2f0b47a2653 Mon Sep 17 00:00:00 2001 From: 2dust Date: Fri, 20 Sep 2019 13:18:43 +0800 Subject: [PATCH] Update PACServerHandle.cs --- v2rayN/v2rayN/HttpProxyHandler/PACServerHandle.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/v2rayN/v2rayN/HttpProxyHandler/PACServerHandle.cs b/v2rayN/v2rayN/HttpProxyHandler/PACServerHandle.cs index 1346f843..7b60058c 100644 --- a/v2rayN/v2rayN/HttpProxyHandler/PACServerHandle.cs +++ b/v2rayN/v2rayN/HttpProxyHandler/PACServerHandle.cs @@ -21,7 +21,11 @@ namespace v2rayN.HttpProxyHandler public static void Init(Config config) { - if (InitServer("127.0.0.1")) + if (InitServer("*")) + { + pacPort = Global.pacPort; + } + else if (InitServer("127.0.0.1")) { pacPort = Global.pacPort; }