aboutsummaryrefslogtreecommitdiff
path: root/src/i2p.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/i2p.cpp')
-rw-r--r--src/i2p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i2p.cpp b/src/i2p.cpp
index 4b79a6826b..2fce946e7d 100644
--- a/src/i2p.cpp
+++ b/src/i2p.cpp
@@ -326,7 +326,7 @@ Session::Reply Session::SendRequestAndGetReply(const Sock& sock,
std::unique_ptr<Sock> Session::Hello() const
{
- auto sock = CreateSock(m_control_host);
+ auto sock = CreateSock(m_control_host.GetSAFamily());
if (!sock) {
throw std::runtime_error("Cannot create socket");