diff --git a/FTL.h b/FTL.h index 348e012d..93bcb00b 100644 --- a/FTL.h +++ b/FTL.h @@ -90,7 +90,6 @@ typedef struct { const char* whitelist; const char* blacklist; const char* setupVars; - const char* dnsmasqconf; const char* wildcards; const char* auditlist; const char* dnsmasqconfig; diff --git a/api_dns.c b/api_dns.c index 6189958e..67d0b3d6 100644 --- a/api_dns.c +++ b/api_dns.c @@ -110,7 +110,7 @@ void getList(int *sock, char type, char list_type) { } void getPiholeStatus(int *sock, char type) { - int status = countlineswith("#addn-hosts=/etc/pihole/gravity.list", files.dnsmasqconf); + int status = countlineswith("#addn-hosts=/etc/pihole/gravity.list", files.dnsmasqconfig); // sendAPIResponse(*sock, type, OK); ssend(*sock, "\"status\":%i", status == 1 ? 0 : 1); } diff --git a/structs.c b/structs.c index 7524b058..dd5fe217 100644 --- a/structs.c +++ b/structs.c @@ -26,7 +26,6 @@ logFileNamesStruct files = { "/etc/pihole/whitelist.txt", "/etc/pihole/blacklist.txt", "/etc/pihole/setupVars.conf", - "/etc/dnsmasq.d/01-pihole.conf", "/etc/dnsmasq.d/03-pihole-wildcard.conf", "/etc/pihole/auditlog.list", "/etc/dnsmasq.d/01-pihole.conf"