From 342b9fac6f4ebeaf53af708c873f506175c34e18 Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Wed, 11 Mar 2020 13:56:32 +0100 Subject: Wait for scope link addresses as well as for scope global addresses Resolves: #1773798 --- sysconfig/network-scripts/network-functions-ipv6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysconfig/network-scripts') diff --git a/sysconfig/network-scripts/network-functions-ipv6 b/sysconfig/network-scripts/network-functions-ipv6 index c5d05d7c..cb8b0aeb 100644 --- a/sysconfig/network-scripts/network-functions-ipv6 +++ b/sysconfig/network-scripts/network-functions-ipv6 @@ -1058,7 +1058,7 @@ ipv6_wait_tentative() { [ "$device" = lo ] && return 0 while [ ${countdown} -gt 0 ]; do - ip_output="$(ip -6 addr show dev ${device} scope global tentative)" + ip_output="$(ip -6 addr show dev ${device} tentative)" if [ -z "$ip_output" ]; then return 0; @@ -1073,7 +1073,7 @@ ipv6_wait_tentative() { countdown=$(($countdown - 1)) done - ip_output="$(ip -6 addr show dev ${device} scope global tentative)" + ip_output="$(ip -6 addr show dev ${device} tentative)" if [ -n "$ip_output" ]; then net_log $"Some IPv6 address(es) of ${device} remain still in 'tentative' state" warning $fn -- cgit v1.2.1