diff --git a/route/bgp_path.go b/route/bgp_path.go index ee9aca8343129a52aebf5eac6cd487dc489cb466..b212630b2dfff50e9a3e700596b23a4a5817daf0 100644 --- a/route/bgp_path.go +++ b/route/bgp_path.go @@ -7,7 +7,6 @@ import ( bnet "github.com/bio-routing/bio-rd/net" "github.com/bio-routing/bio-rd/protocols/bgp/types" - "github.com/taktv6/tflow2/convert" ) // BGPPath represents a set of BGP path attributes @@ -320,14 +319,3 @@ func (b *BGPPath) LargeCommunitiesString() string { return strings.TrimRight(str, " ") } - -func uint32To4Byte(addr uint32) [4]byte { - slice := convert.Uint32Byte(addr) - ret := [4]byte{ - slice[0], - slice[1], - slice[2], - slice[3], - } - return ret -}