Commit f5393642 authored by Max Lv's avatar Max Lv

Fix #951

parent 5ef2849c
......@@ -332,6 +332,7 @@ class ShadowsocksNatService extends BaseService {
handleConnection()
if (profile.route != Route.ALL)
AclSyncJob.schedule(profile.route)
changeState(State.CONNECTED)
......
......@@ -164,6 +164,7 @@ class ShadowsocksVpnService extends VpnService with BaseService {
handleConnection()
changeState(State.CONNECTED)
if (profile.route != Route.ALL)
AclSyncJob.schedule(profile.route)
notification = new ShadowsocksNotification(this, profile.name)
......
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