diff options
author | Nicolas Fort <nicolasfort1988@gmail.com> | 2023-09-18 14:00:50 +0000 |
---|---|---|
committer | Nicolas Fort <nicolasfort1988@gmail.com> | 2023-09-18 14:00:50 +0000 |
commit | b6ae59354b5d69751cc7ea75e0aa4ac0070afa47 (patch) | |
tree | 834273774323771285f11214d30040422365a261 /python/vyos/utils | |
parent | 665523ac1b00f36de0bc09609a29e122a96c5612 (diff) | |
download | vyos-1x-b6ae59354b5d69751cc7ea75e0aa4ac0070afa47.tar.gz vyos-1x-b6ae59354b5d69751cc7ea75e0aa4ac0070afa47.zip |
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.
Diffstat (limited to 'python/vyos/utils')
-rw-r--r-- | python/vyos/utils/network.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |