kernel: Use a time_t to report use time in query_sa()

This commit is contained in:
Martin Willi
2013-10-11 10:23:17 +02:00
parent b59bcba2b3
commit c99458e94e
11 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ METHOD(kernel_interface_t, update_sa, status_t,
METHOD(kernel_interface_t, query_sa, status_t,
private_kernel_interface_t *this, host_t *src, host_t *dst,
u_int32_t spi, u_int8_t protocol, mark_t mark,
u_int64_t *bytes, u_int64_t *packets, u_int32_t *time)
u_int64_t *bytes, u_int64_t *packets, time_t *time)
{
if (!this->ipsec)
{