1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-01-01 12:54:07 +00:00

Revert "Cleanup"

This reverts commit 8e64117af9.
This commit is contained in:
M66B 2017-04-03 09:33:18 +02:00
parent 1265447f6b
commit 86f3b02660

View file

@ -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");