vici list-conns sends reauthentication and rekeying time information
This commit is contained in:
@@ -751,7 +751,7 @@ METHOD(child_sa_t, install, status_t,
|
||||
this->reqid_allocated = TRUE;
|
||||
}
|
||||
|
||||
lifetime = this->config->get_lifetime(this->config);
|
||||
lifetime = this->config->get_lifetime(this->config, TRUE);
|
||||
|
||||
now = time_monotonic(NULL);
|
||||
if (lifetime->time.rekey)
|
||||
|
||||
@@ -722,7 +722,7 @@ static void get_lifetimes(private_quick_mode_t *this)
|
||||
{
|
||||
lifetime_cfg_t *lft;
|
||||
|
||||
lft = this->config->get_lifetime(this->config);
|
||||
lft = this->config->get_lifetime(this->config, TRUE);
|
||||
if (lft->time.life)
|
||||
{
|
||||
this->lifetime = lft->time.life;
|
||||
|
||||
Reference in New Issue
Block a user