Skip to content

Commit

Permalink
don't make SSU2 address published is 'i' is presented
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Mar 18, 2022
1 parent ab99015 commit cc296e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libi2pd/RouterInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ namespace data
else if (!strcmp (key, "i")) // ntcp2 iv or ssu2 intro
{
Base64ToByteStream (value, strlen (value), address->i, 16);
address->published = true; // presence if "i" means "published"
if (address->IsNTCP2 ())
address->published = true; // presence of "i" means "published" NTCP2
}
else if (key[0] == 'i')
{
Expand Down

0 comments on commit cc296e1

Please sign in to comment.