1
1
Fork 0
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:
Michael 2019-02-02 23:22:41 +00:00
parent f3b0af9d2f
commit 6f0ce07571
No known key found for this signature in database
GPG key ID: 2D51757B47E2434C

View file

@ -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
{