Configurable ReplayWindow size, zero disables
This commit is contained in:
parent
8dfe1b374e
commit
23acc19bc0
7 changed files with 43 additions and 18 deletions
|
|
@ -163,7 +163,7 @@ bool send_ans_key(node_t *to) {
|
|||
// Reset sequence number and late packet window
|
||||
mykeyused = true;
|
||||
to->received_seqno = 0;
|
||||
memset(to->late, 0, sizeof(to->late));
|
||||
if(replaywin) memset(to->late, 0, replaywin);
|
||||
|
||||
// Convert to hexadecimal and send
|
||||
char key[2 * to->inkeylength + 1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue