Skip to content

Commit

Permalink
Add lua support for bgp notification
Browse files Browse the repository at this point in the history
  • Loading branch information
zbud-msft committed Sep 5, 2023
1 parent 5037ef1 commit c167539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/build_templates/bgpd_regex.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
{
"tag": "notification",
"regex": ".*NOTIFICATION: (received|sent) (?:to|from) neighbor ([0-9a-f:.]*[0-9a-f+]*)\\s*.* (\\d*)\/(\\d*)",
"params": [ "is_sent", "ip", "major_code", "minor_code" ]
"params": [ "is_sent:ret=(arg==\"sent\")and\"true\"or\"false\")", "ip", "major_code", "minor_code" ]
}
]

0 comments on commit c167539

Please sign in to comment.