diff --git a/I2NPProtocol.h b/I2NPProtocol.h index 900b1415..39e719c8 100644 --- a/I2NPProtocol.h +++ b/I2NPProtocol.h @@ -122,7 +122,10 @@ namespace tunnel { size_t rem = ((size_t)GetBuffer ()) % alignment; if (rem) + { offset += (alignment - rem); + len += (alignment - rem); + } } I2NPMessage& operator=(const I2NPMessage& other)