diff options
Diffstat (limited to 'src/timers.go')
-rw-r--r-- | src/timers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timers.go b/src/timers.go index 2e5046e..9140e41 100644 --- a/src/timers.go +++ b/src/timers.go @@ -128,7 +128,7 @@ func (peer *Peer) BeginHandshakeInitiation() (*QueueOutboundElement, error) { // marshal & schedule for sending - writer := bytes.NewBuffer(elem.data[:0]) + writer := bytes.NewBuffer(elem.buffer[:0]) binary.Write(writer, binary.LittleEndian, msg) elem.packet = writer.Bytes() peer.mac.AddMacs(elem.packet) |