mirror of
https://github.com/alice-lg/birdwatcher.git
synced 2025-03-09 00:00:05 +01:00
fixed code.
This commit is contained in:
parent
433d924525
commit
25650f524e
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@ func isRouteFiltered(rdata interface{}) bool {
|
|||
}
|
||||
|
||||
for _, filter := range FilteredCommunities {
|
||||
if cdata[0].(float64) == filter[0] &&
|
||||
cdata[1].(float64) == filter[1] {
|
||||
if comdata[0] == filter[0] &&
|
||||
comdata[1] == filter[1] {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue