1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00

reset index on change

This commit is contained in:
Massimo Candela
2023-10-22 14:38:22 +02:00
parent 011142d20a
commit 4c14bbfcf3

View File

@ -107,6 +107,7 @@ export default class Input {
item.group = [item.group].flat();
}
this.index.reset();
for (let item of this.prefixes) {
item.group = [item.group].flat();
this.index.addPrefix(item.prefix, item);