mirror of https://github.com/M66B/NetGuard.git
Added logging
This commit is contained in:
parent
7b9d3039ec
commit
a5b44db63f
|
@ -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 New Issue