Commit 5633ae7b authored by Max Lv's avatar Max Lv

Fix #1233

parent 92af48f5
...@@ -214,7 +214,9 @@ class ShadowsocksVpnService extends VpnService with BaseService { ...@@ -214,7 +214,9 @@ class ShadowsocksVpnService extends VpnService with BaseService {
} }
} }
if (profile.route == Acl.ALL || profile.route == Acl.BYPASS_CHN) { if (profile.route == Acl.ALL
|| profile.route == Acl.BYPASS_CHN
|| profile.route == Acl.CUSTOM_RULES) {
builder.addRoute("0.0.0.0", 0) builder.addRoute("0.0.0.0", 0)
} else { } else {
getResources.getStringArray(R.array.bypass_private_route).foreach(cidr => { getResources.getStringArray(R.array.bypass_private_route).foreach(cidr => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment