mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 06:35:07 +03:00
simplify pathfinder
This commit is contained in:
parent
b5cd40b801
commit
994c26e5f7
4 changed files with 18 additions and 18 deletions
|
@ -644,7 +644,7 @@ func (t *lookupTable) lookup(ports []switchPort) switchPort {
|
|||
return here.port
|
||||
}
|
||||
|
||||
func (t *lookupTable) getPorts(coords []byte) []switchPort {
|
||||
func switch_getPorts(coords []byte) []switchPort {
|
||||
var ports []switchPort
|
||||
var offset int
|
||||
for offset < len(coords) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue