1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2024-12-26 09:48:46 +00:00

Added logging

This commit is contained in:
M66B 2016-02-17 13:25:29 +01:00
parent 7b9d3039ec
commit a5b44db63f

View file

@ -1063,7 +1063,7 @@ public class SinkholeService extends VpnService implements SharedPreferences.OnS
mapUidIPFilters.put(key, new HashMap());
try {
//Log.i(TAG, "Set filter uid=" + uid + " " + daddr + " " + dresource + "/" + dport + "=" + block);
// Log.i(TAG, "Set filter uid=" + uid + " " + daddr + " " + dresource + "/" + dport + "=" + block);
if (dresource == null) {
if (Util.isNumericAddress(daddr))
mapUidIPFilters.get(key).put(InetAddress.getByName(daddr), block);
@ -1094,6 +1094,7 @@ public class SinkholeService extends VpnService implements SharedPreferences.OnS
}
}
cursor.close();
Log.i(TAG, "UID/IP filters updated");
}
private void prepareForwarding() {