Don't simulate traffic on load-tester kernel interface
authorMartin Willi <martin@revosec.ch>
Wed, 4 May 2011 14:02:40 +0000 (16:02 +0200)
committerMartin Willi <martin@revosec.ch>
Mon, 16 May 2011 13:24:14 +0000 (15:24 +0200)
src/libcharon/plugins/load_tester/load_tester_ipsec.c

index fdec530..c469cee 100644 (file)
@@ -96,7 +96,7 @@ METHOD(kernel_ipsec_t, query_policy, status_t,
           traffic_selector_t *dst_ts, policy_dir_t direction, mark_t mark,
           u_int32_t *use_time)
 {
-       *use_time = time_monotonic(NULL);
+       *use_time = 1;
        return SUCCESS;
 }