https://bugzilla.novell.com/show_bug.cgi?id=697929
https://bugzilla.novell.com/show_bug.cgi?id=697929#c26
Marius Tomaschewski changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #26 from Marius Tomaschewski 2012-01-05 16:15:24 UTC ---
Ahm... testing something else I noticed, that the code waits very short.
I've found a bug -- the current patch waits only 1/10 of the specified
time :-((
diff --git a/scripts/functions b/scripts/functions
index a12b91c..14d4104 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -196,7 +196,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=$?
@@ -212,7 +212,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=$?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.