strongswan: swanctl: make overtime local

$overtime has been used since swanctl.init was added in f9d91f1f47.
However, there's no need for it to be global.  Make it local like the
other config variables to avoid polluting the global namespace and make
the code easier to reason about.

Fixes: f9d91f1f47 ("strongswan: migrate to swanctl configs")
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
This commit is contained in:
Kevin Locke 2024-11-30 14:28:31 -07:00 committed by Philip Prindeville
parent 62032567d3
commit e7aa0272db
1 changed files with 1 additions and 0 deletions

View File

@ -459,6 +459,7 @@ config_remote() {
local local_key
local ca_cert
local rekeytime
local overtime
local send_cert
local remote_ca_certs
local pools