From a5b44db63fa3a95955b35494da683e6fafd823cd Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 17 Feb 2016 13:25:29 +0100 Subject: [PATCH] Added logging --- app/src/main/java/eu/faircode/netguard/SinkholeService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/netguard/SinkholeService.java b/app/src/main/java/eu/faircode/netguard/SinkholeService.java index c8f9c8ca..e9a76af2 100644 --- a/app/src/main/java/eu/faircode/netguard/SinkholeService.java +++ b/app/src/main/java/eu/faircode/netguard/SinkholeService.java @@ -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() {