diff --git a/etc/ecix/birdwatcher.conf b/etc/ecix/birdwatcher.conf index ad5aab7..bfdb04a 100644 --- a/etc/ecix/birdwatcher.conf +++ b/etc/ecix/birdwatcher.conf @@ -58,6 +58,11 @@ filter_fields = [] # Enable support for multitable configurations per_peer_tables = true -peer_protocol_prefix = 'ID' -pipe_protocol_prefix = 'P' +# Rewrite protocols: +# Apply a regular expression match to the protocol +peer_protocol_match = 'ID(.*)' +# Use the capture groups as variables +pipe_protocol_prefix = 'P$1' +# See https://golang.org/pkg/regexp/#Regexp.Expand +# for more information on how to use these variables.