diff --git a/RouterInfo.cpp b/RouterInfo.cpp index 675947eb..14171576 100644 --- a/RouterInfo.cpp +++ b/RouterInfo.cpp @@ -517,7 +517,7 @@ namespace data { if (addr.transportStyle == eTransportSSU && addr.host.is_v4 ()) { - for (std::vector::iterator it = addr.introducers.begin (); it != addr.introducers.begin (); it++) + for (std::vector::iterator it = addr.introducers.begin (); it != addr.introducers.end (); it++) if ( boost::asio::ip::udp::endpoint (it->iHost, it->iPort) == e) { addr.introducers.erase (it);