mirror of
https://github.com/alice-lg/birdwatcher.git
synced 2025-03-09 00:00:05 +01:00
updated example config and added startup info
This commit is contained in:
parent
1844605866
commit
4a9a320458
2 changed files with 3 additions and 1 deletions
|
@ -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() {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue