mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
* move i2p::util::config::GetHost to RouterContext.cpp
This commit is contained in:
parent
b7c5e3b5d5
commit
26be0c7c82
3 changed files with 10 additions and 35 deletions
7
util.h
7
util.h
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue