Fixed allowing traffic on DNS record expiry

This commit is contained in:
M66B 2019-01-31 12:52:38 +00:00
parent 87dae8faf0
commit 405b03ff0d
1 changed files with 2 additions and 0 deletions

View File

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