]> git.ipfire.org Git - ipfire-2.x.git/commit
unbound-dhcp-leases-bridge: Only reload if leases have actually changed
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 26 Apr 2024 15:09:18 +0000 (15:09 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 28 Apr 2024 17:23:41 +0000 (17:23 +0000)
commit749bf8590204f949facaf21386a17e211dbd5d6d
treeac72555e89b2c94837dabc27304426eface24ba1
parentc3cabfa09cac245f0a950d31d0f4283741017bd5
unbound-dhcp-leases-bridge: Only reload if leases have actually changed

This patches changes that leases will always be written in
alphanumerical order so that we can later compare the newly generated
file with the previous version. If it has not changed, we skip reload
Unbound.

Suggested-by: Nick Howitt <nick@howitts.co.uk>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/unbound/unbound-dhcp-leases-bridge