diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-01-06 13:57:17 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-01-16 05:06:03 -0800 |
commit | 69caa0d15b7bab893874b145633c8aaee0cb5a4f (patch) | |
tree | 1354faad28cbf3efa2caeb1cce672eee6008b81a /packet/bgp | |
parent | 1affc4c7bee7430edd82b36dc0bfe139aefd3e6d (diff) |
packet/bgp: Remove redundant blank argument in range
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'packet/bgp')
-rw-r--r-- | packet/bgp/bgp.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |