From 3200cd74a2fd9e798e5012e768a7a16cc2ec3038 Mon Sep 17 00:00:00 2001 From: Oliver Herms <oliver.herms@exaring.de> Date: Thu, 18 Oct 2018 16:03:05 +0200 Subject: [PATCH] Cleanup --- routingtable/adjRIBIn/adj_rib_in.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/routingtable/adjRIBIn/adj_rib_in.go b/routingtable/adjRIBIn/adj_rib_in.go index e6dbe668..631f1d19 100644 --- a/routingtable/adjRIBIn/adj_rib_in.go +++ b/routingtable/adjRIBIn/adj_rib_in.go @@ -1,7 +1,6 @@ package adjRIBIn import ( - "fmt" "sync" "github.com/bio-routing/bio-rd/routingtable/filter" @@ -134,14 +133,11 @@ func (a *AdjRIBIn) RemovePath(pfx net.Prefix, p *route.Path) bool { oldPaths := r.Paths() for _, path := range oldPaths { if a.addPathRX { - fmt.Printf("Add Path RX!\n") if path.BGPPath.PathIdentifier != p.BGPPath.PathIdentifier { - fmt.Printf("Path ID %v != %v. Ignoring.\n", path.BGPPath.PathIdentifier, p.BGPPath.PathIdentifier) continue } } - fmt.Printf("Removing: %v => %v\n", pfx, *path.BGPPath) a.rt.RemovePath(pfx, path) removed = append(removed, path) } -- GitLab