]> git.ipfire.org Git - location/libloc.git/commit
libloc: Refactor summarizing IP address ranges
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 26 Sep 2024 19:48:03 +0000 (19:48 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 26 Sep 2024 19:56:41 +0000 (19:56 +0000)
commitf284f8355cb2d9213884120c4f615acbb512d7eb
tree825d6606f639fe3fee313af4fe1f116df793c6de
parent45b49a16c3a105e10e69dac2c8325e0f8011fa75
libloc: Refactor summarizing IP address ranges

The algorithm seems to have had some bugs where it generated too many
unnecessary subnets which caused the system to run out of memory very
quickly when determining bogons.

This version of the algorithm is now a little bit smarter and should be
significantly faster as well.

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