]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
unbound-dhcp-bridge: Rewrite update algorithm
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Oct 2016 17:08:22 +0000 (19:08 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Oct 2016 17:08:22 +0000 (19:08 +0200)
commitc7b83f9bedd69f74586627d7e5705cd6e4548239
treebb0744acddcca8b0119d81370f62229bf755b12b
parent5d4f3a42cea5e4224aa4ba469dd7bc182ece4b67
unbound-dhcp-bridge: Rewrite update algorithm

Before the bridge tries reading any existing leases from unbound
but this makes it difficult to destinguish between what is a DHCP lease,
static host entry or anything else.

This patch will change the bridge back to just remember what has been
added to the cache already which makes it easier to keep track.

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