Skip to content
Snippets Groups Projects
Unverified Commit bc8acb13 authored by Daniel Czerwonk's avatar Daniel Czerwonk Committed by GitHub
Browse files

Update route.go

clean up
parent 7d8eb7f1
No related branches found
No related tags found
No related merge requests found
...@@ -193,12 +193,6 @@ func getBestProtocol(paths []*Path) uint8 { ...@@ -193,12 +193,6 @@ func getBestProtocol(paths []*Path) uint8 {
// Print returns a prinatble representation of route `r` // Print returns a prinatble representation of route `r`
func (r *Route) Print() string { func (r *Route) Print() string {
ret := fmt.Sprintf("%s:\n", r.pfx.String()) ret := fmt.Sprintf("%s:\n", r.pfx.String())
//ret += fmt.Sprintf("Best path:\n")
//ret += r.bestPath.Print()
/*ret += fmt.Sprintf("Active Paths:\n")
for _, p := range r.activePaths {
ret += p.Print()
}*/
ret += fmt.Sprintf("All Paths:\n") ret += fmt.Sprintf("All Paths:\n")
for _, p := range r.paths { for _, p := range r.paths {
ret += p.Print() ret += p.Print()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment