mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Remove duplicate dnsmasq config file location
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user