Reviewed-by: Bernhard Bitsch bbitsch@ipfire.org
Am 21.10.2024 um 18:38 schrieb Michael Tremer:
Signed-off-by: Michael Tremer michael.tremer@ipfire.org
config/unbound/unbound-dhcp-leases-bridge | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/config/unbound/unbound-dhcp-leases-bridge b/config/unbound/unbound-dhcp-leases-bridge index bc944a073..2cbdaa004 100644 --- a/config/unbound/unbound-dhcp-leases-bridge +++ b/config/unbound/unbound-dhcp-leases-bridge @@ -279,9 +279,9 @@ class UnboundDHCPLeasesBridge(object): self.unbound.update_dhcp_leases([l for l in self.leases if not l.has_expired()])
def _add_lease(self, lease):
# Skip leases without an FQDN
if not lease.fqdn:# Skip leases without a FQDN
log.debug("Skipping lease without an FQDN: %s" % lease)
log.debug("Skipping lease without a FQDN: %s" % lease) return
# Skip any leases that also are a static host