diff --git a/bird/bird.go b/bird/bird.go index 490a10a..1a1a5cd 100644 --- a/bird/bird.go +++ b/bird/bird.go @@ -281,7 +281,7 @@ func RoutesProto(protocol string) (Parsed, bool) { // Get all routes data, fromCache := RoutesProtoAll(protocol) - routes, ok := data["routes"].([]interface{}) + routes, ok := data["routes"].([]Parsed) if !ok { return NilParse, false }