diff --git a/HTTPServer.cpp b/HTTPServer.cpp
index 2be70cec..7da308cc 100644
--- a/HTTPServer.cpp
+++ b/HTTPServer.cpp
@@ -72,6 +72,7 @@ namespace http {
const char HTTP_PAGE_SAM_SESSION[] = "sam_session";
const char HTTP_PAGE_I2P_TUNNELS[] = "i2p_tunnels";
const char HTTP_PAGE_COMMANDS[] = "commands";
+ const char HTTP_PAGE_LEASESETS[] = "leasesets";
const char HTTP_COMMAND_ENABLE_TRANSIT[] = "enable_transit";
const char HTTP_COMMAND_DISABLE_TRANSIT[] = "disable_transit";
const char HTTP_COMMAND_SHUTDOWN_START[] = "shutdown_start";
@@ -140,6 +141,7 @@ namespace http {
" Main page
\r\n
\r\n"
" Router commands
\r\n"
" Local destinations
\r\n"
+ " Lease Sets
\r\n"
" Tunnels
\r\n"
" Transit tunnels
\r\n"
" Transports
\r\n"
@@ -327,6 +329,57 @@ namespace http {
}
}
+ void ShowLeasesSets(std::stringstream& s)
+ {
+ s << "