Browse Source

show if router is connected in i2p.router.status

pull/660/merge
orignal 8 years ago
parent
commit
faa368cc07
  1. 2
      I2PControl.cpp

2
I2PControl.cpp

@ -391,7 +391,7 @@ namespace client
void I2PControlService::StatusHandler (std::ostringstream& results) void I2PControlService::StatusHandler (std::ostringstream& results)
{ {
InsertParam (results, "i2p.router.status", "???"); // TODO: InsertParam (results, "i2p.router.status", i2p::transport::transports.IsOnline () ? "1" : "0");
} }
void I2PControlService::NetDbKnownPeersHandler (std::ostringstream& results) void I2PControlService::NetDbKnownPeersHandler (std::ostringstream& results)

Loading…
Cancel
Save