summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-07-29 17:10:30 +0100
committerGitHub <noreply@github.com>2024-07-29 17:10:30 +0100
commit9149c657dfdb4d8297aba3ef1ed1346e670b071b (patch)
tree6294700b01ceeb3114e3a1b0a228f81ac0192467 /python
parentf7eae255a38316b7e00a23f0ff1ea84fda156e01 (diff)
parentb62b2f5f8a9c4f0a7dc26bce1f15843651119256 (diff)
downloadvyos-1x-9149c657dfdb4d8297aba3ef1ed1346e670b071b.tar.gz
vyos-1x-9149c657dfdb4d8297aba3ef1ed1346e670b071b.zip
Merge pull request #3823 from srividya0208/T6571
OpenVPN CLI-option: T6571: rename ncp-ciphers with data-ciphers
Diffstat (limited to 'python')
-rw-r--r--python/vyos/template.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/template.py b/python/vyos/template.py
index e8d7ba669..3507e0940 100644
--- 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: