File 0006-Fixed-ipv6-dad-link-ready-wait-time-calculation.patch of Package sysconfig.openSUSE_12.1_Update

From de6254ddb293a9f26855e9111e42e1af2b5f1355 Mon Sep 17 00:00:00 2001
From: Marius Tomaschewski <mt@suse.com>
Date: Thu, 5 Jan 2012 17:50:10 +0100
Subject: [PATCH] Fixed ipv6 dad / link ready wait time calculation
 (bnc#697929)


Signed-off-by: Marius Tomaschewski <mt@suse.com>
---
 scripts/functions |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/functions b/scripts/functions
index e69c733..9bf48d2 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -163,7 +163,7 @@ link_ready_wait ()
 	local iface=$1
 	local -i wsecs=${2:-0}
 	local -i uwait=25000
-	local -i loops=$(((wsecs * 100000) / $uwait))
+	local -i loops=$(((wsecs * 1000000) / $uwait))
 	local -i loop=0 ret=0
 
 	link_ready_check "$iface" ; ret=$?
@@ -179,7 +179,7 @@ ipv6_addr_dad_wait()
 	local iface=$1
 	local -i wsecs=${2:-0}
 	local -i uwait=25000
-	local -i loops=$(((wsecs * 100000) / $uwait))
+	local -i loops=$(((wsecs * 1000000) / $uwait))
 	local -i loop=0 ret=0
 
 	ipv6_addr_dad_check "$iface" ; ret=$?
-- 
1.7.7

openSUSE Build Service is sponsored by