From: Craig M. Coffee Date: Mon, 26 Apr 2010 18:54:10 +0000 (+0000) Subject: multiwan: Updated failover removal X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1849b5a8caf9aaa51ba56e41408edbf7a5b88313;p=openwrt%2Fsvn-archive%2Fpackages.git multiwan: Updated failover removal SVN-Revision: 21176 --- diff --git a/net/multiwan/Makefile b/net/multiwan/Makefile index 1bc7a9b66..cbe867501 100644 --- a/net/multiwan/Makefile +++ b/net/multiwan/Makefile @@ -8,8 +8,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=multiwan -PKG_VERSION:=1.0l -PKG_RELEASE:=2 +PKG_VERSION:=1.0m +PKG_RELEASE:=1 include $(INCLUDE_DIR)/package.mk diff --git a/net/multiwan/files/usr/bin/multiwan b/net/multiwan/files/usr/bin/multiwan index 1d610f596..5b2ba76d8 100755 --- a/net/multiwan/files/usr/bin/multiwan +++ b/net/multiwan/files/usr/bin/multiwan @@ -40,11 +40,7 @@ fi del() { if [ "$existing_failover" == "3" ]; then - if [ "$failover_to" != "balancer" -a "failover_to" != "disable" -a "$failover_to_wanid" != "$wanid" ]; then - iptables -D FW${wanid}MARK -t mangle -j FW${failover_to_wanid}MARK - elif [ "$failover_to" == "balancer" ]; then - iptables -D FW${wanid}MARK -t mangle -j LoadBalancer - fi + iptables -D FW${wanid}MARK 2 -t mangle fi mwnote "$1 has recovered and is back online!" }