mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-26 09:48:46 +00:00
Added logging
This commit is contained in:
parent
7b9d3039ec
commit
a5b44db63f
1 changed files with 2 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue