Updated for better use with ppp and dns requests

git-svn-id: svn://svn.openwrt.org/openwrt/packages@21116 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
craigc 2010-04-24 00:29:57 +00:00
parent 6cc84b6561
commit dfb4bc4c6f
3 changed files with 7 additions and 6 deletions

View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=multiwan
PKG_VERSION:=1.0k
PKG_VERSION:=1.0l
PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk
@ -16,9 +16,10 @@ include $(INCLUDE_DIR)/package.mk
define Package/multiwan
SECTION:=net
CATEGORY:=Network
DEPENDS:=+ip +iptables +iptables-utils +iptables-mod-conntrack +iptables-mod-conntrack-extra
DEPENDS:=+ip +iptables +iptables-utils +iptables-mod-conntrack +iptables-mod-conntrack-extra +iptables-mod-ipopt
TITLE:=Simple multi WAN configuration
URL:=ftp://ftp.netlab7.com/
MAINTAINER:=Craig M. Coffee <craigc@netlab7.com>
endef
define Package/multiwan/description

View File

@ -4,7 +4,7 @@ config 'multiwan' 'config'
option 'resolv_conf' '/tmp/resolv.conf.auto'
config 'interface' 'wan'
option 'weight' '5'
option 'weight' '10'
option 'health_interval' '10'
option 'icmp_hosts' 'dns'
option 'timeout' '3'
@ -13,7 +13,7 @@ config 'interface' 'wan'
option 'failover_to' 'balancer'
config 'interface' 'wan2'
option 'weight' '5'
option 'weight' '10'
option 'health_interval' '10'
option 'icmp_hosts' 'dns'
option 'timeout' '3'

View File

@ -601,7 +601,7 @@ ip route flush table 123 > /dev/null 2>&1
for TABLE in 123
do
ip route | grep link | while read ROUTE
ip route | grep link | grep -Ev ^default | while read ROUTE
do
ip route add table $TABLE to $ROUTE
done
@ -657,7 +657,7 @@ ip route flush table $iprule > /dev/null 2>&1
for TABLE in $iprule
do
ip route | grep link | while read ROUTE
ip route | grep link | grep -Ev ^default | while read ROUTE
do
ip route add table $TABLE to $ROUTE
done