From 2fef0e8d795fd88c5235ef29b9b51ea13369945b Mon Sep 17 00:00:00 2001 From: Matthias Hannig Date: Fri, 19 Oct 2018 16:06:47 +0200 Subject: [PATCH] include last_error from neighbor summary --- backend/sources/birdwatcher/parsers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/sources/birdwatcher/parsers.go b/backend/sources/birdwatcher/parsers.go index a21179d..d78c54c 100644 --- a/backend/sources/birdwatcher/parsers.go +++ b/backend/sources/birdwatcher/parsers.go @@ -207,6 +207,7 @@ func parseNeighborSummary( State: mustString(n["state"], "unknown"), Uptime: uptime, Description: mustString(n["description"], "unknown"), + LastError: mustString(n["last_error"], ""), RoutesReceived: mustInt(n["routes_received"], -1), RoutesAccepted: mustInt(n["routes_accepted"], -1), RoutesFiltered: mustInt(n["routes_filtered"], -1),