summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rwxr-xr-xpython/vyos/template.py5
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']: