aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2011-05-04 16:02:40 +0200
committerMartin Willi <martin@revosec.ch>2011-05-16 15:24:14 +0200
commit015c15688c5ce6003b7938ccf19cda7b844a464a (patch)
treef78d7a51e8243e97f66d5f86dd300aaccef2eb86 /src
parentc726b1a6a597545a8b5fe2ab07ee65eaef29372c (diff)
downloadstrongswan-015c15688c5ce6003b7938ccf19cda7b844a464a.tar.bz2
strongswan-015c15688c5ce6003b7938ccf19cda7b844a464a.tar.xz
Don't simulate traffic on load-tester kernel interface
Diffstat (limited to 'src')
-rw-r--r--src/libcharon/plugins/load_tester/load_tester_ipsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/load_tester/load_tester_ipsec.c b/src/libcharon/plugins/load_tester/load_tester_ipsec.c
index fdec5300e..c469cee31 100644
--- a/src/libcharon/plugins/load_tester/load_tester_ipsec.c
+++ b/src/libcharon/plugins/load_tester/load_tester_ipsec.c
@@ -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;
}