summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorsrividya0208 <a.srividya@vyos.io>2024-07-15 06:30:00 -0400
committersrividya0208 <a.srividya@vyos.io>2024-07-25 06:07:02 -0400
commitb62b2f5f8a9c4f0a7dc26bce1f15843651119256 (patch)
treec3ad8d09c303c15addfcc319e82427bc12e83e7f /python/vyos
parent42a3be5b079f005115ce107935929ebb4a7139e0 (diff)
downloadvyos-1x-b62b2f5f8a9c4f0a7dc26bce1f15843651119256.tar.gz
vyos-1x-b62b2f5f8a9c4f0a7dc26bce1f15843651119256.zip
OpenVPN CLI-option: T6571: rename ncp-ciphers with data-ciphers
Diffstat (limited to 'python/vyos')
-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: