summaryrefslogtreecommitdiff
path: root/src/openvpn/otime.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvpn/otime.h')
-rw-r--r--src/openvpn/otime.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openvpn/otime.h b/src/openvpn/otime.h
index a6f7ec2..f847296 100644
--- a/src/openvpn/otime.h
+++ b/src/openvpn/otime.h
@@ -5,7 +5,7 @@
* packet encryption, packet authentication, and
* packet compression.
*
- * Copyright (C) 2002-2018 OpenVPN Inc <sales@openvpn.net>
+ * Copyright (C) 2002-2021 OpenVPN Inc <sales@openvpn.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
@@ -84,6 +84,7 @@ update_time(void)
openvpn_gettimeofday(&tv, NULL);
#else
update_now(time(NULL));
+ now_usec = 0;
#endif
}