* move i2p::util::config::GetHost to RouterContext.cpp

This commit is contained in:
hagen 2016-07-19 00:00:00 +00:00
parent b7c5e3b5d5
commit 26be0c7c82
3 changed files with 10 additions and 35 deletions

7
util.h
View file

@ -68,14 +68,7 @@ namespace util
int GetMTU (const boost::asio::ip::address& localAddress);
const boost::asio::ip::address GetInterfaceAddress(const std::string & ifname, bool ipv6=false);
}
namespace config
{
/** get the host to use from out config, for use in RouterContext.cpp */
std::string GetHost(bool ipv4=true, bool ipv6=true);
}
}
}
#endif