diff --git a/src/network/protocols/connect_to_peer.cpp b/src/network/protocols/connect_to_peer.cpp index 8f4584a6c..71ef1e1e8 100644 --- a/src/network/protocols/connect_to_peer.cpp +++ b/src/network/protocols/connect_to_peer.cpp @@ -37,7 +37,6 @@ ConnectToPeer::ConnectToPeer(uint32_t peer_id) : Protocol(PROTOCOL_CONNECTION) m_peer_address.clear(); m_peer_id = peer_id; m_state = NONE; - m_is_lan = false; } // ConnectToPeer(peer_id) // ---------------------------------------------------------------------------- @@ -51,7 +50,6 @@ ConnectToPeer::ConnectToPeer(const TransportAddress &address) // We don't need to find the peer address, so we can start // with the state when we found the peer address. m_state = WAIT_FOR_CONNECTION; - m_is_lan = true; } // ConnectToPeers(TransportAddress) // ---------------------------------------------------------------------------- diff --git a/src/network/protocols/connect_to_peer.hpp b/src/network/protocols/connect_to_peer.hpp index b83189731..775328252 100644 --- a/src/network/protocols/connect_to_peer.hpp +++ b/src/network/protocols/connect_to_peer.hpp @@ -39,9 +39,6 @@ protected: * gone. */ std::shared_ptr m_current_protocol; - /** True if this is a LAN connection. */ - bool m_is_lan; - /** Timer use for tracking broadcast. */ double m_timer = 0.0;