mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-03 07:15:34 +00:00
use contains domain name
This commit is contained in:
@@ -461,7 +461,7 @@ CREATE TABLE IF NOT EXISTS dns_logs
|
||||
command.Parameters.AddWithValue("@rcode", (byte)rcode);
|
||||
|
||||
if (qname is not null)
|
||||
command.Parameters.Add(new SqliteParameter("@qname", "%"+qname+"%"));
|
||||
command.Parameters.AddWithValue("@qname", "%"+qname+"%");
|
||||
|
||||
if (qtype is not null)
|
||||
command.Parameters.AddWithValue("@qtype", (ushort)qtype);
|
||||
|
||||
Reference in New Issue
Block a user