From 1460aa3433769db1f5660e7819b669e5414e9b42 Mon Sep 17 00:00:00 2001 From: ralcini Date: Wed, 11 Oct 2017 23:03:57 +0200 Subject: [PATCH] fix for https://github.com/esnet/iperf/issues/650 (#651) Reset authentication token between tests. Fixes #650. --- src/iperf_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/iperf_api.c b/src/iperf_api.c index 6297769..fb6a595 100755 --- a/src/iperf_api.c +++ b/src/iperf_api.c @@ -2305,6 +2305,7 @@ iperf_reset_test(struct iperf_test *test) test->settings->burst = 0; test->settings->mss = 0; test->settings->tos = 0; + test->settings->authtoken = NULL; memset(test->cookie, 0, COOKIE_SIZE); test->multisend = 10; /* arbitrary */ test->udp_counters_64bit = 0;