mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
show uptime properly
This commit is contained in:
parent
1a307f3093
commit
d08d1c9127
@ -646,12 +646,12 @@ namespace util
|
||||
|
||||
void HTTPConnection::FillContent (std::stringstream& s)
|
||||
{
|
||||
s << "<h2>Welcome to the Webconsole!</h2><br><br>";
|
||||
s << "<b>Uptime:</b> " <<
|
||||
s << "<b>Data path:</b> " << i2p::util::filesystem::GetDataDir().string() << "<br>" << "<br>";
|
||||
s << "<b>Our external address:</b>" << boost::posix_time::to_simple_string (
|
||||
s << "<h2>Welcome to the Webconsole!</h2><br>";
|
||||
s << "<b>Uptime:</b> " << boost::posix_time::to_simple_string (
|
||||
boost::posix_time::time_duration (boost::posix_time::seconds (
|
||||
i2p::context.GetUptime ()))) << "<br><br>";
|
||||
i2p::context.GetUptime ()))) << "<br>";
|
||||
s << "<b>Data path:</b> " << i2p::util::filesystem::GetDataDir().string() << "<br><br>";
|
||||
s << "<b>Our external address:</b>" << "<br>" ;
|
||||
for (auto& address : i2p::context.GetRouterInfo().GetAddresses())
|
||||
{
|
||||
switch (address.transportStyle)
|
||||
|
Loading…
Reference in New Issue
Block a user