1
0
Fork 0
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:
hellerve 2016-11-11 17:57:45 +01:00
parent a1b5dabcd3
commit d4847069c6

View file

@ -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]
}