From b6ae59354b5d69751cc7ea75e0aa4ac0070afa47 Mon Sep 17 00:00:00 2001 From: Nicolas Fort Date: Mon, 18 Sep 2023 14:00:50 +0000 Subject: T5594: vrrp: extend function is_ipv6_tentative to analysis all type of ipv6 address, and not only global ipv6 address. This allows to configure ipv6 link local address on vrrp hello-source-address parameter. --- python/vyos/utils/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/vyos/utils/network.py b/python/vyos/utils/network.py index 4c579c760..9354bd495 100644 --- a/python/vyos/utils/network.py +++ b/python/vyos/utils/network.py @@ -139,7 +139,7 @@ def is_ipv6_tentative(iface: str, ipv6_address: str) -> bool: import json from vyos.utils.process import rc_cmd - rc, out = rc_cmd(f'ip -6 --json address show dev {iface} scope global') + rc, out = rc_cmd(f'ip -6 --json address show dev {iface}') if rc: return False -- cgit v1.2.3