diff --git a/route/bgp_path.go b/route/bgp_path.go index 2c56c9681676d7290c88b2b5450366417b243bb6..9945739b62a2318dca4e7553a2487f9527c70b2e 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