diff --git a/HTTPServer.cpp b/HTTPServer.cpp
index bf0a3159..5a3e5190 100644
--- a/HTTPServer.cpp
+++ b/HTTPServer.cpp
@@ -71,6 +71,7 @@ namespace http {
const char HTTP_PAGE_TRANSPORTS[] = "transports";
const char HTTP_PAGE_LOCAL_DESTINATIONS[] = "local_destinations";
const char HTTP_PAGE_LOCAL_DESTINATION[] = "local_destination";
+ const char HTTP_PAGE_I2CP_LOCAL_DESTINATION[] = "i2cp_local_destination";
const char HTTP_PAGE_SAM_SESSIONS[] = "sam_sessions";
const char HTTP_PAGE_SAM_SESSION[] = "sam_session";
const char HTTP_PAGE_I2P_TUNNELS[] = "i2p_tunnels";
@@ -86,7 +87,8 @@ namespace http {
const char HTTP_PARAM_SAM_SESSION_ID[] = "id";
const char HTTP_PARAM_ADDRESS[] = "address";
- void ShowUptime (std::stringstream& s, int seconds) {
+ static void ShowUptime (std::stringstream& s, int seconds)
+ {
int num;
if ((num = seconds / 86400) > 0) {
@@ -104,7 +106,7 @@ namespace http {
s << seconds << " seconds";
}
- void ShowTunnelDetails (std::stringstream& s, enum i2p::tunnel::TunnelState eState, int bytes)
+ static void ShowTunnelDetails (std::stringstream& s, enum i2p::tunnel::TunnelState eState, int bytes)
{
std::string state;
switch (eState) {
@@ -121,7 +123,7 @@ namespace http {
s << " " << (int) (bytes / 1024) << " KiB
\r\n";
}
- void ShowPageHead (std::stringstream& s)
+ static void ShowPageHead (std::stringstream& s)
{
s <<
"\r\n"
@@ -156,7 +158,7 @@ namespace http {
"