summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2023-09-18 14:00:50 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2023-09-18 14:00:50 +0000
commitb6ae59354b5d69751cc7ea75e0aa4ac0070afa47 (patch)
tree834273774323771285f11214d30040422365a261
parent665523ac1b00f36de0bc09609a29e122a96c5612 (diff)
downloadvyos-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.
-rw-r--r--python/vyos/utils/network.py2
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