|author||Thomas Gschwantner <firstname.lastname@example.org>||2019-07-28 03:25:08 +0200|
|committer||Thomas Gschwantner <email@example.com>||2019-08-02 21:49:15 +0200|
|parent||Move counting logic from lease.c to radix-trie.c (diff)|
radix-trie: implement pool shadowing
Pools are created from routes which can overlap. Consider the following: ip route add 192.168.4.0/28 ip route add 192.168.4.0/24 sleep 3600 ip route del 192.168.4.0/24 Here, the pool created from the first route is being shadowed by the pool from the second route. However, since the second pool is later removed again we cannot simply combine them. So instead this commit shadows them, to avoid them being double counted.
Diffstat (limited to 'lease.h')
0 files changed, 0 insertions, 0 deletions