]> git.ipfire.org Git - people/ms/libloc.git/commit - src/database.c
bogons: Refactor algorithms
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 7 Mar 2022 11:12:17 +0000 (11:12 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 7 Mar 2022 11:12:17 +0000 (11:12 +0000)
commit9306c68db4f95b0e7dc315f3daef6dbbba7a815e
tree9aa81923ebe66117af47c3e1095811da97a8a9c9
parentf39c751d55cc52a3651d45c94a41c61708dc928f
bogons: Refactor algorithms

This changes that we won't compare one network with the previous one,
but instead we will look for gaps starting from the first possible to
the last possible IP address.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/database.c
src/libloc/network.h
src/libloc/private.h