From d8535ce46ade5c034c5c2c5d938ee9c9310626c5 Mon Sep 17 00:00:00 2001 From: Daniel Czerwonk <daniel@dan-nrw.de> Date: Mon, 2 Jul 2018 20:48:26 +0200 Subject: [PATCH] removed uneccessary comment --- protocols/bgp/packet/mp_reach_nlri.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/bgp/packet/mp_reach_nlri.go b/protocols/bgp/packet/mp_reach_nlri.go index 8051463a..ec18df05 100644 --- a/protocols/bgp/packet/mp_reach_nlri.go +++ b/protocols/bgp/packet/mp_reach_nlri.go @@ -23,7 +23,7 @@ func (n *MultiProtocolReachNLRI) serialize(buf *bytes.Buffer) uint8 { tempBuf := bytes.NewBuffer(nil) tempBuf.Write(convert.Uint16Byte(n.AFI)) tempBuf.WriteByte(n.SAFI) - tempBuf.WriteByte(uint8(len(nextHop))) // NextHop length + tempBuf.WriteByte(uint8(len(nextHop))) tempBuf.Write(nextHop) tempBuf.WriteByte(0) // RESERVED for _, pfx := range n.Prefixes { -- GitLab