Skip to content
Snippets Groups Projects
Commit d8535ce4 authored by Daniel Czerwonk's avatar Daniel Czerwonk
Browse files

removed uneccessary comment

parent fae12f9a
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment