Log no rules

This commit is contained in:
M66B 2017-08-16 10:02:04 +02:00
parent b26f40d391
commit 2840824c70
1 changed files with 4 additions and 1 deletions

View File

@ -1807,7 +1807,10 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
}
if (!filtered)
packet.allowed = (mapUidAllowed.containsKey(packet.uid) && mapUidAllowed.get(packet.uid));
if (mapUidAllowed.containsKey(packet.uid))
packet.allowed = mapUidAllowed.get(packet.uid);
else
Log.w(TAG, "No rules for " + packet);
}
}