Blame SOURCES/0421-network-wait_for_ipv6_auto-wait-for-all-tentative-ad.patch

712866
From 13264563a9471844102113b7062534466d20ce38 Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Thu, 30 Jun 2016 12:15:56 +0200
712866
Subject: [PATCH] network:wait_for_ipv6_auto() wait for all tentative addresses
712866
712866
---
712866
 modules.d/40network/net-lib.sh | 2 +-
712866
 1 file changed, 1 insertion(+), 1 deletion(-)
712866
712866
diff --git a/modules.d/40network/net-lib.sh b/modules.d/40network/net-lib.sh
712866
index 986c673..7120193 100755
712866
--- a/modules.d/40network/net-lib.sh
712866
+++ b/modules.d/40network/net-lib.sh
712866
@@ -677,7 +677,7 @@ wait_for_ipv6_auto() {
712866
     timeout=$(($timeout*10))
712866
 
712866
     while [ $cnt -lt $timeout ]; do
712866
-        [ -z "$(ip -6 addr show dev "$1" scope global tentative)" ] \
712866
+        [ -z "$(ip -6 addr show dev "$1" tentative)" ] \
712866
             && [ -n "$(ip -6 route list proto ra dev "$1")" ] \
712866
             && return 0
712866
         sleep 0.1