change scope

pull/35/head
Jeff 6 years ago
parent 8c591ceb96
commit 21e20dde18

@ -90,6 +90,10 @@ namespace llarp
return m_AddrToIP.find(remote) != m_AddrToIP.end();
}
/// get ip address for service address unconditionally
huint32_t
ObtainIPForAddr(const service::Address& addr);
protected:
typedef llarp::util::CoDelQueue<
net::IPv4Packet, net::IPv4Packet::GetTime, net::IPv4Packet::PutTime,
@ -103,10 +107,6 @@ namespace llarp
bool
HasRemoteForIP(huint32_t ipv4) const;
/// get ip address for service address unconditionally
huint32_t
ObtainIPForAddr(const service::Address& addr);
/// mark this address as active
void
MarkIPActive(huint32_t ip);

@ -107,7 +107,7 @@ namespace llarp
HasPathToService(const Address& remote) const;
virtual huint32_t
ObtainIPForAddr(const Address& remote)
ObtainIPForAddr(const llarp::service::Address& remote)
{
return {0};
}

Loading…
Cancel
Save