]> git.ipfire.org Git - people/ms/libloc.git/commit
networks: Delete networks from the tree on merge
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 17 Jul 2023 16:00:14 +0000 (16:00 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 17 Jul 2023 16:00:14 +0000 (16:00 +0000)
commit5c19976019e1df90911459806e8df27558377086
treecf16eddcd182e897db4b4526341984173975c696
parentc1ce4349125f0104e2ed88e4a0320097af052e5c
networks: Delete networks from the tree on merge

Previously, the tree did not support deleting nodes, but this has now
been added to do this safely.

This saves us running another deduplication check and halves the size of
the database.

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