summaryrefslogtreecommitdiff
path: root/scripts/generate-configd-include-json.py
diff options
context:
space:
mode:
authorKyrylo Yatsenko <hedrok@gmail.com>2025-06-27 10:24:29 +0300
committerKyrylo Yatsenko <hedrok@gmail.com>2025-07-08 17:26:38 +0300
commit12f956e66f6d557425a0071b384ccafa7e1e9a97 (patch)
tree0fb209fe119efbec03110499429d96cb2e558c81 /scripts/generate-configd-include-json.py
parentbdb5846987fa21f410204f0aa15670f37339da8c (diff)
downloadvyos-1x-12f956e66f6d557425a0071b384ccafa7e1e9a97.tar.gz
vyos-1x-12f956e66f6d557425a0071b384ccafa7e1e9a97.zip
ipsec: T7545: Fix show vpn debug peer
Fix re for searching of peers in /etc/swanctl/swanctl.conf ``` search = rf'^[\s]*(peer_{peer}_(tunnel_[\d]+|vti)).*' ``` Changed to ``` search = rf'^[\s]*({peer}-(tunnel-[\d]+|vti))[\s]*{{' ``` Added message ``` print(f'\n### {command} ###') ``` so that output is not empty when `/usr/sbin/ipsec statusall` shows nothing
Diffstat (limited to 'scripts/generate-configd-include-json.py')
0 files changed, 0 insertions, 0 deletions