aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorThomas Gschwantner <tharre3@gmail.com>2019-07-28 03:25:08 +0200
committerThomas Gschwantner <tharre3@gmail.com>2019-08-02 21:49:15 +0200
commitf7aae442151c3f18cd542b8260601759658ca460 (patch)
treeab0ccfc1a45e4bc9e038f3837ebc93fcd7d1e58d /.clang-format
parentMove counting logic from lease.c to radix-trie.c (diff)
downloadwg-dynamic-f7aae442151c3f18cd542b8260601759658ca460.tar.xz
wg-dynamic-f7aae442151c3f18cd542b8260601759658ca460.zip
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 '.clang-format')
0 files changed, 0 insertions, 0 deletions