From: Craig M. Coffee Date: Sat, 24 Apr 2010 17:54:48 +0000 (+0000) Subject: multiwan: adjusted DNS rules to send out via correct interface. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2ab49358f97ec7d16a65df7824a3d2845482366f;p=openwrt%2Fsvn-archive%2Fpackages.git multiwan: adjusted DNS rules to send out via correct interface. SVN-Revision: 21144 --- diff --git a/net/multiwan/Makefile b/net/multiwan/Makefile index 628a6f03a..1bc7a9b66 100644 --- a/net/multiwan/Makefile +++ b/net/multiwan/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=multiwan PKG_VERSION:=1.0l -PKG_RELEASE:=1 +PKG_RELEASE:=2 include $(INCLUDE_DIR)/package.mk diff --git a/net/multiwan/files/usr/bin/multiwan b/net/multiwan/files/usr/bin/multiwan index e0a67a86a..1d610f596 100755 --- a/net/multiwan/files/usr/bin/multiwan +++ b/net/multiwan/files/usr/bin/multiwan @@ -475,7 +475,7 @@ dns=$(echo $dns | sed -e "s/ /\n/g") if [ ! -z "$dns" -a "$failchk" != "x" -a "$ipaddr" != "x" -a "$gateway" != "x" -a "$ifname" != "x" ]; then echo "$dns" | while read dns_server do - iptables -t mangle -A MultiWanDNS -d $dns_server -p UDP --dport 53 -j FW${i}MARK + iptables -t mangle -A MultiWanDNS -d $dns_server -j FW${i}MARK compile_dns="nameserver $dns_server" echo "$compile_dns" >> $resolv_conf