Revert "Cleanup"

This reverts commit 8e64117af9.
This commit is contained in:
M66B 2017-04-03 09:33:18 +02:00
parent 1265447f6b
commit 86f3b02660
1 changed files with 2 additions and 0 deletions

View File

@ -523,6 +523,8 @@ public class DatabaseHelper extends SQLiteOpenHelper {
cv.put("protocol", packet.protocol); cv.put("protocol", packet.protocol);
cv.put("daddr", dname == null ? packet.daddr : dname); cv.put("daddr", dname == null ? packet.daddr : dname);
cv.put("dport", packet.dport); cv.put("dport", packet.dport);
if (block < 0)
cv.put("block", block);
if (db.insert("access", null, cv) == -1) if (db.insert("access", null, cv) == -1)
Log.e(TAG, "Insert access failed"); Log.e(TAG, "Insert access failed");