mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 10:35:53 +02:00
unbound-dhcp-leases-bridge: Fix typo
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
17a9ad2f52
commit
a81eefa265
@@ -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
|
||||
# Skip leases without a FQDN
|
||||
if not lease.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
|
||||
|
||||
Reference in New Issue
Block a user