From b6a2fb70c8fab00038598de2f346ce19ccb0ce52 Mon Sep 17 00:00:00 2001 From: hellerve Date: Thu, 16 Feb 2017 17:25:35 +0100 Subject: [PATCH] bugfix: readded ttl to bgp protocol --- VERSION | 2 +- bird/bird.go | 3 ++- birdwatcher.go | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 91c74a5..84298f9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.7.7 +1.7.8 diff --git a/bird/bird.go b/bird/bird.go index ab0da44..41c6028 100644 --- a/bird/bird.go +++ b/bird/bird.go @@ -159,7 +159,8 @@ func ProtocolsBgp() (Parsed, bool) { } } - return Parsed{"protocols": bgpProto}, from_cache + + return Parsed{"protocols": bgpProto, "ttl": p["ttl"]}, from_cache } func Symbols() (Parsed, bool) { diff --git a/birdwatcher.go b/birdwatcher.go index 1932b60..7554f50 100644 --- a/birdwatcher.go +++ b/birdwatcher.go @@ -13,7 +13,7 @@ import ( ) //go:generate versionize -var VERSION = "1.7.7" +var VERSION = "1.7.8" func isModuleEnabled(module string, modulesEnabled []string) bool { for _, enabled := range modulesEnabled {