show error message in the web-console

This commit is contained in:
orignal 2016-09-19 21:37:04 -04:00
parent 783c2b6b03
commit 7a51407f6d
4 changed files with 25 additions and 4 deletions

View file

@ -279,7 +279,7 @@ namespace transport
if (signedOnTime < ts - SSU_CLOCK_SKEW || signedOnTime > ts + SSU_CLOCK_SKEW)
{
LogPrint (eLogError, "SSU: clock skew detected ", (int)ts - signedOnTime, ". Check your clock");
i2p::context.SetStatus (eRouterStatusError);
i2p::context.SetError (eRouterErrorClockSkew);
}
}
payload += 4; // signed on time