mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-22 07:10:28 +00:00
set packet version in sim, so it plays nice with new parsing from the new ckr code
This commit is contained in:
parent
fc5a5830aa
commit
289f1ce7c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user