From a68765e021bbded7a7a155254fda3bc6dae5c553 Mon Sep 17 00:00:00 2001 From: orignal Date: Wed, 29 Jun 2022 08:30:11 -0400 Subject: [PATCH] fixed off 5 bytes for follow on fragment --- libi2pd/SSU2Session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd/SSU2Session.cpp b/libi2pd/SSU2Session.cpp index 99641d10..0ee95b08 100644 --- a/libi2pd/SSU2Session.cpp +++ b/libi2pd/SSU2Session.cpp @@ -1927,7 +1927,7 @@ namespace transport isLast = false; } buf[0] = eSSU2BlkFollowOnFragment; - htobe16buf (buf + 1, msgLen); // size + htobe16buf (buf + 1, msgLen + 5); // size fragmentNum++; buf[3] = fragmentNum << 1; if (isLast) buf[3] |= 0x01;