diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-10-14 08:04:55 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-10-14 08:04:55 +0000 |
commit | f089aa624e0713f117c949b74ec2ad389de2064e (patch) | |
tree | 5fb28f647c19338f2e5da37f7218d123cebc3fdb /src/validators/script | |
parent | 02f2535dda08c6e19ba2e1fdb750f1e298b45add (diff) | |
download | vyos-1x-f089aa624e0713f117c949b74ec2ad389de2064e.tar.gz vyos-1x-f089aa624e0713f117c949b74ec2ad389de2064e.zip |
T4725: Fix Regex for correctly reset IPsec peers
As IPsec site-so-site was rewritten we do not need replace
':' => '-' as ':' can not be in the connection name
So connection name can not use IP(v6) address as peer name
And current peers/connections not required prefix 'peer_'
Fix template that search correctly connection name of the peers
that allow to reset them again (reset ipsec peer was broken)
Diffstat (limited to 'src/validators/script')
0 files changed, 0 insertions, 0 deletions