From 69caa0d15b7bab893874b145633c8aaee0cb5a4f Mon Sep 17 00:00:00 2001 From: IWASE Yusuke Date: Fri, 6 Jan 2017 13:57:17 +0900 Subject: packet/bgp: Remove redundant blank argument in range Signed-off-by: IWASE Yusuke --- packet/bgp/bgp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packet/bgp') diff --git a/packet/bgp/bgp.go b/packet/bgp/bgp.go index f0f7b2ce..2bc15ff2 100644 --- a/packet/bgp/bgp.go +++ b/packet/bgp/bgp.go @@ -7346,7 +7346,7 @@ func (msg *BGPHeader) DecodeFromBytes(data []byte) error { func (msg *BGPHeader) Serialize() ([]byte, error) { buf := make([]byte, 19) - for i, _ := range buf[:16] { + for i := range buf[:16] { buf[i] = 0xff } binary.BigEndian.PutUint16(buf[16:18], msg.Len) -- cgit v1.2.3