mirror of
https://github.com/alice-lg/birdwatcher.git
synced 2025-03-09 00:00:05 +01:00
move assignment out of for loop
This commit is contained in:
parent
a1b5dabcd3
commit
d4847069c6
1 changed files with 1 additions and 1 deletions
|
@ -184,8 +184,8 @@ func parseRoutes(input []byte) Parsed {
|
|||
min := parseInt(com_groups[2])
|
||||
communities = append(communities, []int64{maj, min})
|
||||
}
|
||||
bgp["communities"] = communities
|
||||
}
|
||||
bgp["communities"] = communities
|
||||
} else {
|
||||
bgp[groups[1]] = groups[2]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue