diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/template.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/template.py b/python/vyos/template.py index 58ba75972..7860b581f 100644 --- a/python/vyos/template.py +++ b/python/vyos/template.py @@ -154,7 +154,7 @@ def is_ipv4(text): try: return ip_interface(text).version == 4 except: return False -@register_filter('ipv6') +@register_filter('is_ipv6') def is_ipv6(text): """ Filter IP address, return True on IPv6 address, False otherwise """ from ipaddress import ip_interface |