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

[packages] multiwan: Updated failover removal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.