mirror of
https://github.com/M66B/NetGuard.git
synced 2025-01-01 12:54:07 +00:00
parent
1265447f6b
commit
86f3b02660
1 changed files with 2 additions and 0 deletions
|
@ -523,6 +523,8 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
|||
cv.put("protocol", packet.protocol);
|
||||
cv.put("daddr", dname == null ? packet.daddr : dname);
|
||||
cv.put("dport", packet.dport);
|
||||
if (block < 0)
|
||||
cv.put("block", block);
|
||||
|
||||
if (db.insert("access", null, cv) == -1)
|
||||
Log.e(TAG, "Insert access failed");
|
||||
|
|
Loading…
Reference in a new issue