[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:
parent
9ab7bbda14
commit
a4a9ca982e
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=multiwan
|
||||
PKG_VERSION:=1.0.7
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user