summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-09-18 12:38:36 +0100
committerGitHub <noreply@github.com>2024-09-18 12:38:36 +0100
commit0444795e3798f2ec51e40bef67a0920f892769b8 (patch)
tree5c0ba6fb3c4b6579e5ab7a6e2eeedd52241bbdb0 /python
parent19ac59d02da196c8bc34c706ca72fc960e8ebb1c (diff)
parent087c33f09237ca8d47b4d84ab52b466c3a141d8c (diff)
downloadvyos-1x-0444795e3798f2ec51e40bef67a0920f892769b8.tar.gz
vyos-1x-0444795e3798f2ec51e40bef67a0920f892769b8.zip
Merge pull request #4082 from vyos/mergify/bp/circinus/pr-3823
OpenVPN CLI-option: T6571: rename ncp-ciphers with data-ciphers (backport #3823)
Diffstat (limited to 'python')
-rwxr-xr-xpython/vyos/template.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/template.py b/python/vyos/template.py
index 768c43387..3ba5c9012 100755
--- a/python/vyos/template.py
+++ b/python/vyos/template.py
@@ -556,8 +556,8 @@ def get_openvpn_cipher(cipher):
return openvpn_translate[cipher].upper()
return cipher.upper()
-@register_filter('openvpn_ncp_ciphers')
-def get_openvpn_ncp_ciphers(ciphers):
+@register_filter('openvpn_data_ciphers')
+def get_openvpn_data_ciphers(ciphers):
out = []
for cipher in ciphers:
if cipher in openvpn_translate: