diff --git a/bird/bird.go b/bird/bird.go index 29f1de8..181fbc3 100644 --- a/bird/bird.go +++ b/bird/bird.go @@ -305,14 +305,6 @@ func RoutesNoExport(protocol string) (Parsed, bool) { if ParserConf.PerPeerTables && strings.HasPrefix(protocol, ParserConf.PeerProtocolPrefix) { - protocolsRes, from_cache := ProtocolsBgp() - if IsSpecial(protocolsRes) { - return protocolsRes, from_cache - } - if _, ok := protocolsRes["protocols"].(Parsed)[protocol]; !ok { - return NilParse, false - } - // Replace prefix protocol = ParserConf.PipeProtocolPrefix + protocol[len(ParserConf.PeerProtocolPrefix):] diff --git a/etc/birdwatcher/birdwatcher.conf b/etc/birdwatcher/birdwatcher.conf index a1cc871..756c86b 100644 --- a/etc/birdwatcher/birdwatcher.conf +++ b/etc/birdwatcher/birdwatcher.conf @@ -54,13 +54,13 @@ requests_per_minute = 10 [bird] -listen = "0.0.0.0:29188" +listen = "0.0.0.0:29184" config = "/etc/bird.conf" birdc = "/sbin/birdc" ttl = 5 # time to live (in minutes) for caching of cli output [bird6] -listen = "0.0.0.0:29189" +listen = "0.0.0.0:29186" config = "/etc/bird6.conf" birdc = "/sbin/birdc6" ttl = 5 # time to live (in minutes) for caching of cli output