1
0
Fork 0
mirror of https://github.com/alice-lg/birdwatcher.git synced 2025-03-09 00:00:05 +01:00

BIRD 2.x: Support dual-stack route queries

This commit is contained in:
Jonathan Lassoff 2024-02-12 20:30:41 -08:00
parent 70eb549c3d
commit a78ad8c83e

View file

@ -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 {