From 0d9862a8dd54a8db9781a368565933736e0bc1ac Mon Sep 17 00:00:00 2001 From: Alden Torres Date: Wed, 4 Apr 2018 11:40:31 -0400 Subject: [PATCH] fix wrong variable name --- src/session_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session_impl.cpp b/src/session_impl.cpp index b3bd6f374..d1d3739cb 100644 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -5823,7 +5823,7 @@ namespace aux { for (auto const& addr : addresses) { #if !TORRENT_USE_IPV6 - if (!i->is_v4()) continue; + if (!addr.is_v4()) continue; #endif // router nodes should be added before the DHT is started (and bootstrapped) udp::endpoint ep(addr, std::uint16_t(port));