aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Macku <jamacku@redhat.com>2020-03-11 13:56:32 +0100
committerGitHub <noreply@github.com>2020-03-11 13:56:32 +0100
commit342b9fac6f4ebeaf53af708c873f506175c34e18 (patch)
tree76b367f4292901814938bb3debe6fda1c981d7ba
parent31e3823aef0694575e8967d0b467dd85a78c3432 (diff)
downloadinitscripts-342b9fac6f4ebeaf53af708c873f506175c34e18.tar
initscripts-342b9fac6f4ebeaf53af708c873f506175c34e18.tar.gz
initscripts-342b9fac6f4ebeaf53af708c873f506175c34e18.tar.bz2
initscripts-342b9fac6f4ebeaf53af708c873f506175c34e18.tar.xz
initscripts-342b9fac6f4ebeaf53af708c873f506175c34e18.zip
Wait for scope link addresses as well as for scope global addresses
Resolves: #1773798
-rw-r--r--sysconfig/network-scripts/network-functions-ipv64
1 files changed, 2 insertions, 2 deletions
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