diff --git a/src/opnsense/scripts/dhcp/dnsmasq_watcher.py b/src/opnsense/scripts/dhcp/dnsmasq_watcher.py index 62c181bcd..be99d8088 100755 --- a/src/opnsense/scripts/dhcp/dnsmasq_watcher.py +++ b/src/opnsense/scripts/dhcp/dnsmasq_watcher.py @@ -49,7 +49,7 @@ def run_watcher(target_filename, default_domain, watch_file, service_pid): # initiate lease watcher and setup cache dhcpdleases = watchers.dhcpd.DHCPDLease(watch_file) cached_leases = dict() - hostname_pattern = re.compile("(?!-)[A-Z0-9-]*(?