mirror of
https://github.com/yggdrasil-network/yggdrasil-go
synced 2024-11-09 23:20:26 +03:00
Formatting
This commit is contained in:
parent
483d90a728
commit
8ef852469b
@ -79,7 +79,9 @@ func (a *admin) handleRequest(conn net.Conn) {
|
||||
var destPorts []switchPort
|
||||
for offset := 0; ; {
|
||||
coord, length := wire_decode_uint64(v.coords[offset:])
|
||||
if length == 0 { break }
|
||||
if length == 0 {
|
||||
break
|
||||
}
|
||||
destPorts = append(destPorts, switchPort(coord))
|
||||
offset += length
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user