summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2023-09-18 14:00:50 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-09-19 10:42:34 +0000
commit967751b12c9851e4a379e781c6c22099b89e4ce3 (patch)
treefd294e0212f31c3567a014708f3727bf0c61e2ca /python/vyos
parent8f79a5cb4ee9b6eb5e825304702558fd5db791df (diff)
downloadvyos-1x-967751b12c9851e4a379e781c6c22099b89e4ce3.tar.gz
vyos-1x-967751b12c9851e4a379e781c6c22099b89e4ce3.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.
(cherry picked from commit b6ae59354b5d69751cc7ea75e0aa4ac0070afa47)
Diffstat (limited to 'python/vyos')
-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 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