[PATCH] TestIperf: fix scope of the rate variable