use data message for keep-alive

This commit is contained in:
orignal 2014-09-12 11:41:29 -04:00
parent 6069055c9e
commit d3081a4e03

View File

@ -846,7 +846,7 @@ namespace ssu
payload++;
*payload = 0; // num fragments
// encrypt message with session key
FillHeaderAndEncrypt (PAYLOAD_TYPE_SESSION_DESTROYED, buf, 48);
FillHeaderAndEncrypt (PAYLOAD_TYPE_DATA, buf, 48);
Send (buf, 48);
LogPrint ("SSU keep-alive sent");
ScheduleTermination ();