mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-18 23:36:39 +01:00
[webconsole] show v4 status only ipv4 is enabled
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
b3e7b1b5ac
commit
1e17ef2f21
1 changed files with 6 additions and 3 deletions
|
@ -326,9 +326,12 @@ namespace http {
|
||||||
s << "<b>" << tr("Uptime") << ":</b> ";
|
s << "<b>" << tr("Uptime") << ":</b> ";
|
||||||
ShowUptime(s, i2p::context.GetUptime ());
|
ShowUptime(s, i2p::context.GetUptime ());
|
||||||
s << "<br>\r\n";
|
s << "<br>\r\n";
|
||||||
|
if (i2p::context.SupportsV4 ())
|
||||||
|
{
|
||||||
s << "<b>" << tr("Network status") << ":</b> ";
|
s << "<b>" << tr("Network status") << ":</b> ";
|
||||||
ShowNetworkStatus (s, i2p::context.GetStatus ());
|
ShowNetworkStatus (s, i2p::context.GetStatus ());
|
||||||
s << "<br>\r\n";
|
s << "<br>\r\n";
|
||||||
|
}
|
||||||
if (i2p::context.SupportsV6 ())
|
if (i2p::context.SupportsV6 ())
|
||||||
{
|
{
|
||||||
s << "<b>" << tr("Network status v6") << ":</b> ";
|
s << "<b>" << tr("Network status v6") << ":</b> ";
|
||||||
|
|
Loading…
Add table
Reference in a new issue