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

Fix RoutesPrefixed

This version ignored the prefix which is passed as an URL parameter.
This commit is contained in:
Johannes Moos 2018-09-26 16:28:01 +02:00 committed by Benedikt Rudolph
parent b8b9b5d021
commit 439ee0d5d0

View file

@ -200,7 +200,7 @@ func Symbols() (Parsed, bool) {
}
func RoutesPrefixed(prefix string) (Parsed, bool) {
cmd := routeQueryForChannel("route all")
cmd := routeQueryForChannel("route " + prefix + " all")
return RunAndParse(cmd, parseRoutes)
}