aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2014-02-05 12:06:22 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2014-02-05 12:06:22 +0100
commit24f59868c49cc7fb3d05d2c2b4b1268dc8d9fb59 (patch)
treed914034f5dbcfc1b55bc4c2626c6db7c782cf9de /src
parentd6804e304199344991212523a0473a848246e42f (diff)
downloadstrongswan-24f59868c49cc7fb3d05d2c2b4b1268dc8d9fb59.tar.bz2
strongswan-24f59868c49cc7fb3d05d2c2b4b1268dc8d9fb59.tar.xz
Allow output of session time in UTC
Diffstat (limited to 'src')
-rw-r--r--src/libpts/plugins/imv_attestation/attest_db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libpts/plugins/imv_attestation/attest_db.c b/src/libpts/plugins/imv_attestation/attest_db.c
index d7654ab43..7a8a1135a 100644
--- a/src/libpts/plugins/imv_attestation/attest_db.c
+++ b/src/libpts/plugins/imv_attestation/attest_db.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011-2012 Andreas Steffen
+ * Copyright (C) 2011-2014 Andreas Steffen
* HSR Hochschule fuer Technik Rapperswil
*
* This program is free software; you can redistribute it and/or modify it
@@ -1555,7 +1555,7 @@ METHOD(attest_db_t, list_sessions, void,
device_len = min(strlen(device), DEVICE_MAX_LEN);
identity = identity.len ? identity : chunk_from_str("-");
printf("%4d: %T %2d %-20s %.*s%*s%.*s - %N\n", session_id, &created,
- FALSE, conn_id, product, device_len, device,
+ this->utc, conn_id, product, device_len, device,
DEVICE_MAX_LEN - device_len + 1, " ", (int)identity.len,
identity.ptr, TNC_IMV_Action_Recommendation_names, rec);
}