mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-27 21:55:07 +03:00
don't use TTL
This commit is contained in:
parent
fe12e1509a
commit
84c13fac90
3 changed files with 10 additions and 11 deletions
|
@ -207,6 +207,10 @@ func testPaths(store map[[32]byte]*Node) bool {
|
|||
// This is sufficient to check for routing loops or blackholes
|
||||
//break
|
||||
}
|
||||
if here == next {
|
||||
fmt.Println("Drop2:", source.index, here.index, dest.index, oldTTL)
|
||||
return false
|
||||
}
|
||||
here = next
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue