]> git.ipfire.org Git - 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:38:48 +0000 (16:38 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 5 Nov 2024 08:12:17 +0000 (09:12 +0100)
commit131bcfa999179f58b8d44d871b299747607286be
treed65ee8cd0627b2531c66e5d25de7cfe3ac1b2c56
parenta81eefa265610d4129961979182bf8a8bb6230f9
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>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/unbound/unbound-dhcp-leases-bridge