From 307ce9d6233cd99880e8ac6cc0f87c0747fb6d94 Mon Sep 17 00:00:00 2001 From: Andras Fekete Date: Mon, 21 Aug 2023 09:52:34 -0400 Subject: [PATCH] Only drop the first Nth packet, not every --- scripts/dtls.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dtls.test b/scripts/dtls.test index d95ccc527..fc902a4b9 100755 --- a/scripts/dtls.test +++ b/scripts/dtls.test @@ -76,8 +76,8 @@ run_test() { # usage: run_test "" "" "" " } test_dropping_packets () { - for i in $(seq 3 11);do - run_test "Dropping ${i}th packet" "-d $i" "-Ta" "" + for i in $(seq 0 11);do + run_test "Dropping ${i}th packet" "-f $i" "-Ta" "" done # dropping last ack would be client error as wolfssl_read doesn't support WANT_WRITE as returned error