From cb43338a8a85ad69e74120ab2f54c30461461005 Mon Sep 17 00:00:00 2001 From: Matthias Hannig Date: Mon, 17 Jul 2017 11:53:23 +0200 Subject: [PATCH] better formatting --- birdwatcher.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/birdwatcher.go b/birdwatcher.go index 3f5cec4..0a5879a 100644 --- a/birdwatcher.go +++ b/birdwatcher.go @@ -102,8 +102,10 @@ 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) + if conf.Parser.PerPeerTables == true { + log.Println(" - Match:", conf.Parser.PeerProtocolMatch) + log.Println(" - Template:", conf.Parser.PipeProtocolTemplate) + } } func main() {