From 8774a8fbc2e966e8229bc32a2546bf3d06d69429 Mon Sep 17 00:00:00 2001 From: orignal Date: Thu, 28 Mar 2019 10:17:03 -0400 Subject: [PATCH] handle b33 addresses in I2P tunnels --- libi2pd_client/I2PTunnel.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libi2pd_client/I2PTunnel.h b/libi2pd_client/I2PTunnel.h index 0cff9ad5..0d1ac9a8 100644 --- a/libi2pd_client/I2PTunnel.h +++ b/libi2pd_client/I2PTunnel.h @@ -13,6 +13,7 @@ #include "Datagram.h" #include "Streaming.h" #include "I2PService.h" +#include "AddressBook.h" namespace i2p { @@ -129,11 +130,11 @@ namespace client const char* GetName() { return m_Name.c_str (); } private: - const i2p::data::IdentHash * GetIdentHash (); + std::shared_ptr GetAddress (); private: std::string m_Name, m_Destination; - const i2p::data::IdentHash * m_DestinationIdentHash; + std::shared_ptr m_Address; int m_DestinationPort; };