Make sure the ReplayWindow option works for SPTPS as well.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 14 Oct 2012 12:48:35 +0000 (14:48 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 14 Oct 2012 12:48:35 +0000 (14:48 +0200)
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 */