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:
parent
70eb549c3d
commit
a78ad8c83e
1 changed files with 1 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue