diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-01-15 16:36:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-15 16:36:53 +0100 |
| commit | 06eed816c29c11b1f1a8cfdd6b2116d5708a35eb (patch) | |
| tree | 992652c2e34b2838a8c961fc5f25d153e202b91a /python | |
| parent | 0c373c7c9cf0fff573e5acc5642f6af63c311da2 (diff) | |
| parent | 61487b13da8dc270907633a3140bd0cc2aa0926a (diff) | |
| download | vyos-1x-06eed816c29c11b1f1a8cfdd6b2116d5708a35eb.tar.gz vyos-1x-06eed816c29c11b1f1a8cfdd6b2116d5708a35eb.zip | |
Merge pull request #4923 from alexandr-san4ez/T7633-current
openvpn: T7633: Add support for `data-ciphers-fallback` in site-to-site tunnels
Diffstat (limited to 'python')
| -rwxr-xr-x | python/vyos/template.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/vyos/template.py b/python/vyos/template.py index 128471f42..6b3e329a3 100755 --- a/python/vyos/template.py +++ b/python/vyos/template.py @@ -572,6 +572,11 @@ def get_openvpn_data_ciphers(ciphers): out.append(cipher) return ':'.join(out).upper() + +@register_filter('openvpn_data_ciphers_fallback') +def get_openvpn_data_ciphers_fallback(cipher): + return get_openvpn_cipher(cipher) + @register_filter('snmp_auth_oid') def snmp_auth_oid(type): if type not in ['md5', 'sha', 'aes', 'des', 'none']: |
