]> git.ipfire.org Git - people/stevee/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 21:34:23 +0000 (22:34 +0100)
commita3f77ded659c607ea1c00e9500aece0418ec5c4a
treee21dd4800bb24ec76275f5f7ac306cca19f15efd
parentcd4437eaa76be37161820c37725dd788f57c0ac2
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