From 4c3a2174b2f0658ad4bb68e5d34e6e0c2beefa3c Mon Sep 17 00:00:00 2001
From: Daniel Czerwonk <daniel@dan-nrw.de>
Date: Mon, 2 Jul 2018 21:26:00 +0200
Subject: [PATCH] removed unused function

---
 route/bgp_path.go | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/route/bgp_path.go b/route/bgp_path.go
index ee9aca83..b212630b 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
-}
-- 
GitLab