From 967751b12c9851e4a379e781c6c22099b89e4ce3 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. (cherry picked from commit b6ae59354b5d69751cc7ea75e0aa4ac0070afa47) --- python/vyos/utils/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/vyos/utils/network.py b/python/vyos/utils/network.py index c96ee4eed..157530cc1 100644 --- a/python/vyos/utils/network.py +++ b/python/vyos/utils/network.py @@ -135,7 +135,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