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