From 435fbe3bee154d0bff84764082f743b17088fca0 Mon Sep 17 00:00:00 2001 From: Oliver Herms <oliver.herms@exaring.de> Date: Wed, 16 May 2018 16:58:15 +0200 Subject: [PATCH] Cleanup --- routingtable/adjRIBOut/adj_rib_out.go | 3 --- routingtable/adjRIBOutAddPath/adj_rib_out_add_path.go | 3 --- 2 files changed, 6 deletions(-) diff --git a/routingtable/adjRIBOut/adj_rib_out.go b/routingtable/adjRIBOut/adj_rib_out.go index 086d8654..1ddd93c6 100644 --- a/routingtable/adjRIBOut/adj_rib_out.go +++ b/routingtable/adjRIBOut/adj_rib_out.go @@ -7,7 +7,6 @@ import ( "github.com/bio-routing/bio-rd/net" "github.com/bio-routing/bio-rd/route" "github.com/bio-routing/bio-rd/routingtable" - "github.com/taktv6/tflow2/convert" ) // AdjRIBOut represents an Adjacency RIB In as described in RFC4271 @@ -35,8 +34,6 @@ func (a *AdjRIBOut) UpdateNewClient(client routingtable.RouteTableClient) error // AddPath replaces the path for prefix `pfx`. If the prefix doesn't exist it is added. func (a *AdjRIBOut) AddPath(pfx net.Prefix, p *route.Path) error { - fmt.Printf("THIS IS ADJ RIB OUT NON ADD PATH FOR %v\n", convert.Uint32Byte(a.neighbor.Address)) - if a.isOwnPath(p) { return nil } diff --git a/routingtable/adjRIBOutAddPath/adj_rib_out_add_path.go b/routingtable/adjRIBOutAddPath/adj_rib_out_add_path.go index 5c661734..07b702db 100644 --- a/routingtable/adjRIBOutAddPath/adj_rib_out_add_path.go +++ b/routingtable/adjRIBOutAddPath/adj_rib_out_add_path.go @@ -7,7 +7,6 @@ import ( "github.com/bio-routing/bio-rd/net" "github.com/bio-routing/bio-rd/route" "github.com/bio-routing/bio-rd/routingtable" - "github.com/taktv6/tflow2/convert" ) // AdjRIBOutAddPath represents an Adjacency RIB Out with BGP add path @@ -35,8 +34,6 @@ func (a *AdjRIBOutAddPath) UpdateNewClient(client routingtable.RouteTableClient) // AddPath adds path p to prefix `pfx` func (a *AdjRIBOutAddPath) AddPath(pfx net.Prefix, p *route.Path) error { - fmt.Printf("THIS IS ADD PATH ON ADJ RIB OUT FOR %v", convert.Uint32Byte(a.neighbor.Address)) - if a.isOwnPath(p) { return nil } -- GitLab