This commit is contained in:
JackDoan
2026-05-14 12:16:33 -05:00
parent 5eb0b1cfd3
commit 2841aea86c
2 changed files with 4 additions and 3 deletions

View File

@@ -166,7 +166,7 @@ func (t *tun) Read(p []wire.TunPacket, mem []byte) (int, error) {
if err != nil {
return 0, err
}
p[0].Bytes = mem[4:n]
p[0].Bytes = mem[:n]
return 1, nil
}