diff --git a/routingtable/adjRIBIn/adj_rib_in.go b/routingtable/adjRIBIn/adj_rib_in.go index e6dbe668c03faec1aee6f33ff7ba20deb076ae9f..631f1d197cabc926056f186e21e1b6cd5d719afd 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) }