mirror of
https://github.com/alice-lg/birdwatcher.git
synced 2025-03-09 00:00:05 +01:00
bugfix: filter fields are buggy
This commit is contained in:
parent
9b16ef143e
commit
71f8de383a
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ func mainRouteDetail(groups []string, route Parsed) Parsed {
|
|||
route["metric"] = parseInt(groups[8])
|
||||
|
||||
for k, _ := range route {
|
||||
if !dirtyContains(ParserConf.FilterFields, k) {
|
||||
if dirtyContains(ParserConf.FilterFields, k) {
|
||||
route[k] = nil
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue