This commit is contained in:
lhie1
2020-12-12 02:27:58 +08:00
2 changed files with 4 additions and 4 deletions

View File

@@ -108,7 +108,8 @@ script:
"PROXY": "Proxy",
"Apple": "Apple",
"Domestic": "Domestic",
"Domestic IPs": "Domestic"
"Domestic IPs": "Domestic",
"LAN": "DIRECT"
}
port = int(metadata["dst_port"])
@@ -125,8 +126,6 @@ script:
return "DIRECT"
code = ctx.geoip(ip)
if code == "LAN":
return "DIRECT"
if code == "CN":
return "Domestic"