Changeset 21416


Ignore:
Timestamp:
2010-05-10T18:54:53+02:00 (6 years ago)
Author:
craigc
Message:

[packages] multiwan: Fixed last WAN probability to be 1.0.

Location:
packages/net/multiwan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/multiwan/Makefile

    r21415 r21416  
    1010PKG_NAME:=multiwan 
    1111PKG_VERSION:=1.0.7 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414include $(INCLUDE_DIR)/package.mk 
  • packages/net/multiwan/files/usr/bin/multiwan

    r21415 r21416  
    693693        if [ $rand_probability -lt 10 ]; then 
    694694                rand_probability="0.0${rand_probability}" 
    695         elif [ $rand_probability -lt 100 ]; then 
     695        elif [ $rand_probability -lt 100 -a $i != $wancount ]; then 
    696696                rand_probability="0.${rand_probability}" 
    697697        else 
Note: See TracChangeset for help on using the changeset viewer.