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:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user