From cc296e16dc5884916ccb356e8f6e0771d0eb1c8f Mon Sep 17 00:00:00 2001 From: orignal Date: Fri, 18 Mar 2022 13:02:59 -0400 Subject: [PATCH] don't make SSU2 address published is 'i' is presented --- libi2pd/RouterInfo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libi2pd/RouterInfo.cpp b/libi2pd/RouterInfo.cpp index 4eed7ea8..473c110e 100644 --- a/libi2pd/RouterInfo.cpp +++ b/libi2pd/RouterInfo.cpp @@ -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') {