mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 20:13:05 +02:00
Time::delta_str(): use "INF" to denote infinite time
Signed-off-by: James Yonan <james@openvpn.net>
This commit is contained in:
parent
0e598a87b2
commit
bf00c6e3ed
@ -268,6 +268,8 @@ namespace openvpn {
|
||||
{
|
||||
if (!defined())
|
||||
return "UNDEF-TIME";
|
||||
if (is_infinite())
|
||||
return "INF";
|
||||
const double df = delta_float(t);
|
||||
std::string ret;
|
||||
if (df >= 0.0)
|
||||
|
Loading…
Reference in New Issue
Block a user