]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
unbound-dhcp-leases-bridge: Don't overwrite static leases
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 21 Oct 2024 16:24:32 +0000 (18:24 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 21 Oct 2024 16:24:32 +0000 (18:24 +0200)
commita9991eb4a1d4529f136cae63a67eed1046dbd4dc
tree9eaa7c25a7bd87cb20007bcc62684215b5dd4867
parent1129b32f0e1d2c721d7215dc3abb7afc7b8cfbd9
unbound-dhcp-leases-bridge: Don't overwrite static leases

When we import all static leases, their remark will be used as hostname
(because WTF?) and might be overwritten if the device is not sending any
or even the same hostname.

This patch avoids that static leases will be modified.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/unbound/unbound-dhcp-leases-bridge