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

fixed wrong map on match group

This commit is contained in:
Massimo Candela
2023-10-20 03:01:26 +02:00
parent 631aae1158
commit 011142d20a

View File

@@ -88,7 +88,7 @@ export default class MonitorAS extends Monitor {
if (this.skipPrefixMatch) {
const skipMatches = matchedPrefixRules.map(i => i.group).flat();
const goodMatches = matchedASRule.map(i => i.group).flat();
const goodMatches = [matchedASRule.group].flat();
for (let g of goodMatches) {
if (!skipMatches.includes(g)) {