From 5f6c6ff116ef5085c9cdbe2ba9a08276943848e7 Mon Sep 17 00:00:00 2001
From: Daniel Czerwonk <daniel@dan-nrw.de>
Date: Thu, 28 Jun 2018 13:54:59 +0200
Subject: [PATCH] build fix

---
 route/bgp_path.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/route/bgp_path.go b/route/bgp_path.go
index 2c56c968..9945739b 100644
--- a/route/bgp_path.go
+++ b/route/bgp_path.go
@@ -255,8 +255,8 @@ func (b *BGPPath) insertNewASSequence() {
 	pa := make(types.ASPath, len(b.ASPath)+1)
 	copy(pa[1:], b.ASPath)
 	pa[0] = types.ASPathSegment{
-		ASNs:  make([]uint32, 0),
-		Type:  packet.ASSequence,
+		ASNs: make([]uint32, 0),
+		Type: types.ASSequence,
 	}
 
 	b.ASPath = pa
-- 
GitLab