diff --git a/TunnelPool.h b/TunnelPool.h index ce20be6b..6a73bd67 100644 --- a/TunnelPool.h +++ b/TunnelPool.h @@ -74,7 +74,7 @@ namespace tunnel void RequireLatency(uint64_t min, uint64_t max) { m_MinLatency = min; m_MaxLatency = max; } /** @brief return true if this tunnel pool has a latency requirement */ - bool HasLatencyRequriement() const { return m_MinLatency > 0 && m_MaxLatency > 0; } + bool HasLatencyRequirement() const { return m_MinLatency > 0 && m_MaxLatency > 0; } /** @brief get the lowest latency tunnel in this tunnel pool regardless of latency requirements */ std::shared_ptr GetLowestLatencyInboundTunnel(std::shared_ptr exclude=nullptr) const;