summaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/table/message_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkg/table/message_test.go')
-rw-r--r--internal/pkg/table/message_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pkg/table/message_test.go b/internal/pkg/table/message_test.go
index 28a380fe..8b3287d3 100644
--- a/internal/pkg/table/message_test.go
+++ b/internal/pkg/table/message_test.go
@@ -480,7 +480,7 @@ func TestBMP(t *testing.T) {
}
func unreachIndex(msgs []*bgp.BGPMessage) int {
- for i, _ := range msgs {
+ for i := range msgs {
for _, a := range msgs[i].Body.(*bgp.BGPUpdate).PathAttributes {
if a.GetType() == bgp.BGP_ATTR_TYPE_MP_UNREACH_NLRI {
return i