summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-11-30 05:54:56 +0700
committerGitHub <noreply@github.com>2018-11-30 05:54:56 +0700
commitc27f83c59f4567a63d9f9aa5008b8183ee964a2a (patch)
treef678de449b8651476d63ba0c2da081176451ca6d /scripts
parent2e3a21804161ec21b5995e63adf9bbb60ca0006f (diff)
downloadvyatta-cfg-system-c27f83c59f4567a63d9f9aa5008b8183ee964a2a.tar.gz
vyatta-cfg-system-c27f83c59f4567a63d9f9aa5008b8183ee964a2a.zip
Revert "T1055: Wait for Duplicate Address Detection on the relevant interface"revert-87-current
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-dhcpv6-client.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-dhcpv6-client.pl b/scripts/vyatta-dhcpv6-client.pl
index 64c6840d..c0b4cfeb 100755
--- a/scripts/vyatta-dhcpv6-client.pl
+++ b/scripts/vyatta-dhcpv6-client.pl
@@ -146,7 +146,7 @@ if (defined($start_flag) || defined ($renew_flag)) {
# https://phabricator.vyos.net/T903
for (my $attempt_count = 0; $attempt_count <= 60; $attempt_count++) {
# Check for any non-tentative addresses (exit code 0 if any exist, 1 otherwise)
- if (system("test -n \"\$(ip -6 -o addr show dev $ifname scope link -tentative)\"") != 0) {
+ if (system("test -n \"\$(ip -6 -o addr show dev eth0 scope link -tentative)\"") != 0) {
# No non-tentative address found, sleep and retry or exit
if ($attempt_count == 0) {
print "Duplicate address detection incomplete, waiting\n"