From 289f1ce7c22fa317e5d06184e86fe903e039ca2a Mon Sep 17 00:00:00 2001 From: Arceliar Date: Wed, 14 Nov 2018 21:58:48 -0600 Subject: [PATCH] set packet version in sim, so it plays nice with new parsing from the new ckr code --- misc/sim/treesim.go | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/sim/treesim.go b/misc/sim/treesim.go index 4aa463dc..3391e1aa 100644 --- a/misc/sim/treesim.go +++ b/misc/sim/treesim.go @@ -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