From 19c7123cffe65340ada21bd5abd73b3163cd2883 Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Tue, 27 Mar 2007 16:45:10 +0000
Subject: fix a problem with the firewall script (multicast traffic could
 produce packet loss)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6726 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/iptables/files/firewall.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'package/iptables/files')

diff --git a/package/iptables/files/firewall.init b/package/iptables/files/firewall.init
index 290bae1ea..310b0ec09 100755
--- a/package/iptables/files/firewall.init
+++ b/package/iptables/files/firewall.init
@@ -100,7 +100,7 @@ start() {
 	# uses the default -P DROP
 	
 	### MASQ
-	iptables -t nat -A PREROUTING -m state --state NEW -j NEW 
+	iptables -t nat -A PREROUTING -m state --state NEW -p tcp -j NEW 
 	iptables -t nat -A PREROUTING -j prerouting_rule
 	[ -z "$WAN" ] || iptables -t nat -A PREROUTING -i "$WAN" -j prerouting_wan
 	iptables -t nat -A POSTROUTING -j postrouting_rule
-- 
cgit v1.2.3