explicitly set frame reset field to zero by default

pull/1319/head
jeff 4 years ago committed by Jeff Becker
parent f6f56029d3
commit 574a986d9a
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -1179,6 +1179,7 @@ namespace llarp
{
auto transfer = std::make_shared<routing::PathTransferMessage>();
ProtocolFrame& f = transfer->T;
f.R = 0;
std::shared_ptr<path::Path> p;
std::set<ConvoTag> tags;
if (GetConvoTagsForService(remote, tags))

@ -70,6 +70,7 @@ namespace llarp
{
SharedSecret shared;
auto f = std::make_shared<ProtocolFrame>();
f->R = 0;
f->N.Randomize();
f->T = currentConvoTag;
f->S = ++sequenceNo;

Loading…
Cancel
Save