Display the name of the blocklist URL

added -adlist arg to the query command
This commit is contained in:
ail1020
2018-01-28 20:17:48 -06:00
committed by GitHub
parent 2fd7f5a85c
commit 78f031869f

View File

@@ -58,7 +58,7 @@ else
$exact = "";
}
$proc = popen("sudo pihole -q ".$url." ".$exact, 'r');
$proc = popen("sudo pihole -q -adlist ".$url." ".$exact, 'r');
while (!feof($proc)) {
echoEvent(fread($proc, 4096));
}