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 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 */