[packages] multiwan: Fixed last WAN probability to be 1.0.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21416 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -692,7 +692,7 @@ last_probability=$rand_probability
|
||||
|
||||
if [ $rand_probability -lt 10 ]; then
|
||||
rand_probability="0.0${rand_probability}"
|
||||
elif [ $rand_probability -lt 100 ]; then
|
||||
elif [ $rand_probability -lt 100 -a $i != $wancount ]; then
|
||||
rand_probability="0.${rand_probability}"
|
||||
else
|
||||
rand_probability="1.0"
|
||||
|
Reference in New Issue
Block a user