Merge branch 'development' into update/dnsmasq

This commit is contained in:
DL6ER
2022-02-06 22:12:05 +01:00
+5 -2
View File
@@ -431,8 +431,11 @@ int DB_save_queries(sqlite3 *db)
// REPLY_TYPE
sqlite3_bind_int(query_stmt, 10, query->reply);
// REPLY_TIME (stored in units of seconds)
sqlite3_bind_double(query_stmt, 11, 1e-4*query->response);
// REPLY_TIME (stored in units of seconds) if available, NULL otherwise
if(query->flags.response_calculated)
sqlite3_bind_double(query_stmt, 11, 1e-4*query->response);
else
sqlite3_bind_null(query_stmt, 11);
// DNSSEC
sqlite3_bind_int(query_stmt, 12, query->dnssec);