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

build fix

parent d799c7eb
Branches
Tags
No related merge requests found
...@@ -255,8 +255,8 @@ func (b *BGPPath) insertNewASSequence() { ...@@ -255,8 +255,8 @@ func (b *BGPPath) insertNewASSequence() {
pa := make(types.ASPath, len(b.ASPath)+1) pa := make(types.ASPath, len(b.ASPath)+1)
copy(pa[1:], b.ASPath) copy(pa[1:], b.ASPath)
pa[0] = types.ASPathSegment{ pa[0] = types.ASPathSegment{
ASNs: make([]uint32, 0), ASNs: make([]uint32, 0),
Type: packet.ASSequence, Type: types.ASSequence,
} }
b.ASPath = pa b.ASPath = pa
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment