]> git.meshlink.io Git - meshlink/blobdiff - src/net_setup.c
Make sure the ReplayWindow option works for SPTPS as well.
[meshlink] / src / net_setup.c
index 462ff10339ce3b9a761caa5f812a2ed4781f0f5e..b2cfe28fab252cbd8f5404710839a536ffdb51fa 100644 (file)
@@ -668,6 +668,7 @@ static bool setup_myself(void) {
                        return false;
                }
                replaywin = (unsigned)replaywin_int;
+               sptps_replaywin = replaywin;
        }
 
        /* Generate packet encryption key */