summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ddns.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/ddns.php b/ddns.php
index 4245820..859937d 100644
--- a/ddns.php
+++ b/ddns.php
@@ -71,6 +71,8 @@
foreach ($filters as $filter) {
if (preg_match('@' . $filter['regex'] . '@', $ip) == 1)
$filterMatches[$i][] = $filter['name'];
+ else
+ $filterMatches[$i][] = 'non-' . $filter['name'];
}
$filterMatches[$i] = array_unique($filterMatches[$i]);
}