Changeset 21176


Ignore:
Timestamp:
2010-04-26T20:54:10+02:00 (7 years ago)
Author:
craigc
Message:

[packages] multiwan: Updated failover removal

Location:
packages/net/multiwan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/multiwan/Makefile

    r21144 r21176  
    99 
    1010PKG_NAME:=multiwan 
    11 PKG_VERSION:=1.0l 
    12 PKG_RELEASE:=2 
     11PKG_VERSION:=1.0m 
     12PKG_RELEASE:=1 
    1313 
    1414include $(INCLUDE_DIR)/package.mk 
  • packages/net/multiwan/files/usr/bin/multiwan

    r21144 r21176  
    4141del() { 
    4242if [ "$existing_failover" == "3" ]; then 
    43         if [ "$failover_to" != "balancer" -a "failover_to" != "disable" -a "$failover_to_wanid" != "$wanid" ]; then 
    44                 iptables -D FW${wanid}MARK -t mangle -j FW${failover_to_wanid}MARK 
    45         elif [ "$failover_to" == "balancer" ]; then 
    46                 iptables -D FW${wanid}MARK -t mangle -j LoadBalancer 
    47         fi 
     43                iptables -D FW${wanid}MARK 2 -t mangle 
    4844fi 
    4945        mwnote "$1 has recovered and is back online!" 
Note: See TracChangeset for help on using the changeset viewer.