diff --git a/birdwatcher.go b/birdwatcher.go index 2165519..3f5cec4 100644 --- a/birdwatcher.go +++ b/birdwatcher.go @@ -102,6 +102,8 @@ func PrintServiceInfo(conf *Config, birdConf bird.BirdConfig) { } log.Println(" Per Peer Tables:", conf.Parser.PerPeerTables) + log.Println(" - Match:", conf.Parser.PeerProtocolMatch, + "Template:", conf.Parser.PipeProtocolTemplate) } func main() { diff --git a/etc/ecix/birdwatcher.conf b/etc/ecix/birdwatcher.conf index bfdb04a..a09b3e5 100644 --- a/etc/ecix/birdwatcher.conf +++ b/etc/ecix/birdwatcher.conf @@ -63,6 +63,6 @@ per_peer_tables = true # Apply a regular expression match to the protocol peer_protocol_match = 'ID(.*)' # Use the capture groups as variables -pipe_protocol_prefix = 'P$1' +pipe_protocol_template = 'P$1' # See https://golang.org/pkg/regexp/#Regexp.Expand # for more information on how to use these variables.