From ccdc549cd2540a19f4bff908555aebb2dc3b7bd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Tue, 7 Sep 2010 16:17:58 +0300 Subject: authdb: separate last access / login time and tweak the authdb a bit. --- authdb.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'authdb.h') diff --git a/authdb.h b/authdb.h index 1e50726..29000bd 100644 --- a/authdb.h +++ b/authdb.h @@ -22,13 +22,11 @@ struct authdb_entry { sockaddr_any switch_ip; uint64_t block_categories; uint64_t hard_block_categories; - } p; - - struct { uint32_t login_time; - uint32_t override_time; - uint32_t checksum; - } u; + } p; + uint32_t last_activity_time; + uint32_t override_time; + uint32_t checksum; }; struct authdb_map_entry { -- cgit v1.2.3