5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-09 16:20:26 +00:00

set packet version in sim, so it plays nice with new parsing from the new ckr code

This commit is contained in:
Arceliar 2018-11-14 21:58:48 -06:00
parent fc5a5830aa
commit 289f1ce7c2

View File

@ -267,6 +267,7 @@ func pingNodes(store map[[32]byte]*Node) {
copy(packet[8:24], sourceAddr)
copy(packet[24:40], destAddr)
copy(packet[40:], bs)
packet[0] = 6 << 4
source.send <- packet
}
destCount := 0