Update adblock logging regex

This commit is contained in:
billz 2023-10-06 14:42:33 +02:00
parent 911a6a3145
commit 2e8d2b1e16
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ function DisplayAdBlockConfig()
$handle = fopen(RASPI_DHCPCD_LOG, "r");
if ($handle) {
while (($line = fgets($handle)) !== false) {
if (preg_match('/(0.0.0.0)/', $line)) {
if (preg_match('/(is 0.0.0.0)|(using only locally-known addresses)/', $line)) {
$adblock_log .= $line;
}
}