mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
Fix cause of issue with LinkLayerTest.TestUTPAliceConnectToBob
This commit is contained in:
parent
f3b0af9d2f
commit
6f0ce07571
1 changed files with 7 additions and 0 deletions
|
@ -65,6 +65,13 @@ namespace llarp
|
|||
{
|
||||
}
|
||||
|
||||
InboundMessage(const InboundMessage& other)
|
||||
: lastActive(other.lastActive), _msg(other._msg), buffer(_msg)
|
||||
{
|
||||
buffer.cur = buffer.base + (other.buffer.cur - other.buffer.base);
|
||||
buffer.sz = other.buffer.sz;
|
||||
}
|
||||
|
||||
bool
|
||||
operator==(const InboundMessage& other) const
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue