Browse Source

don't make SSU2 address published is 'i' is presented

pull/1743/head
orignal 3 years ago
parent
commit
cc296e16dc
  1. 3
      libi2pd/RouterInfo.cpp

3
libi2pd/RouterInfo.cpp

@ -280,7 +280,8 @@ namespace data
else if (!strcmp (key, "i")) // ntcp2 iv or ssu2 intro else if (!strcmp (key, "i")) // ntcp2 iv or ssu2 intro
{ {
Base64ToByteStream (value, strlen (value), address->i, 16); 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') else if (key[0] == 'i')
{ {

Loading…
Cancel
Save