[server] skip replay storage in --test mode (since we're not granting access anyway)
This commit is contained in:
parent
70f70091b1
commit
8d31de7295
@ -577,7 +577,7 @@ incoming_spa(fko_srv_options_t *opts)
|
||||
|
||||
/* Add this SPA packet into the replay detection cache
|
||||
*/
|
||||
if (added_replay_digest == 0
|
||||
if (!opts->test && added_replay_digest == 0
|
||||
&& strncasecmp(opts->config[CONF_ENABLE_DIGEST_PERSISTENCE], "Y", 1) == 0)
|
||||
{
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user