From a78ad8c83e97f71f7bfa221570be68d17c5af7c5 Mon Sep 17 00:00:00 2001 From: Jonathan Lassoff Date: Mon, 12 Feb 2024 20:30:41 -0800 Subject: [PATCH] BIRD 2.x: Support dual-stack route queries --- bird/bird.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bird/bird.go b/bird/bird.go index b9039e0..3e1ba17 100644 --- a/bird/bird.go +++ b/bird/bird.go @@ -311,12 +311,7 @@ func Symbols(useCache bool) (Parsed, bool) { func routesQuery(filter string) string { cmd := "route " + filter - if getBirdVersion() < 2 { - return cmd - } - - // Add ipversion filter - return cmd + " where net.type = NET_IP" + IPVersion + return cmd } func remapTable(table string) string {