mirror of https://github.com/M66B/NetGuard.git
Fixed allowing traffic on DNS record expiry
This commit is contained in:
parent
87dae8faf0
commit
405b03ff0d
|
@ -805,6 +805,8 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
|||
|
||||
if (db.insert("dns", null, cv) == -1)
|
||||
Log.e(TAG, "Insert dns failed");
|
||||
else
|
||||
rows = 1;
|
||||
} else if (rows != 1)
|
||||
Log.e(TAG, "Update dns failed rows=" + rows);
|
||||
|
||||
|
|
Loading…
Reference in New Issue