diff options
author | Jan Macku <jamacku@redhat.com> | 2020-03-11 13:56:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-11 13:56:32 +0100 |
commit | 342b9fac6f4ebeaf53af708c873f506175c34e18 (patch) | |
tree | 76b367f4292901814938bb3debe6fda1c981d7ba | |
parent | 31e3823aef0694575e8967d0b467dd85a78c3432 (diff) | |
download | initscripts-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-ipv6 | 4 |
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 |