summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorsrividya0208 <a.srividya@vyos.io>2024-07-15 06:30:00 -0400
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-09-18 10:35:50 +0000
commit087c33f09237ca8d47b4d84ab52b466c3a141d8c (patch)
tree98aad533eb5293c9bcfb791ed742b05e4c1dec21 /python
parent87611cccbcb89bcf0fb3316afd7064a7d2f66b5b (diff)
downloadvyos-1x-087c33f09237ca8d47b4d84ab52b466c3a141d8c.tar.gz
vyos-1x-087c33f09237ca8d47b4d84ab52b466c3a141d8c.zip
OpenVPN CLI-option: T6571: rename ncp-ciphers with data-ciphers
(cherry picked from commit b62b2f5f8a9c4f0a7dc26bce1f15843651119256)
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: