This commit is contained in:
Tomaae 2023-01-18 23:51:22 +01:00 committed by GitHub
parent 18e0359490
commit a7c00d8fb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2102,7 +2102,7 @@ class MikrotikControllerData:
# Add hosts from DHCP
for uid, vals in self.data["dhcp"].items():
if not self.data["host"][uid]["source"]["enabled"]:
if not vals["enabled"]:
continue
if uid not in self.data["host"]: