Revision: 175
Author: krisk84
Date: 2006-06-22 07:49:12 -0700 (Thu, 22 Jun 2006)
ViewCVS: http://svn.sourceforge.net/astlinux/?rev=175&view=rev
Log Message:
-----------
more astfw fixes
Modified Paths:
--------------
trunk/target/generic/target_skeleton/usr/sbin/astfw
Modified: trunk/target/generic/target_skeleton/usr/sbin/astfw
===================================================================
--- trunk/target/generic/target_skeleton/usr/sbin/astfw 2006-06-22 14:14:29 UTC (rev 174)
+++ trunk/target/generic/target_skeleton/usr/sbin/astfw 2006-06-22 14:49:12 UTC (rev 175)
@@ -119,7 +119,7 @@
if [ "$PROTOCOL" = "icmp" ]
then
-iptables -A INPUT -m icmp -p icmp --icmp-type $PORT -j ACCEPT
+iptables -A INPUT -i $EXTIF -m icmp -p icmp --icmp-type $PORT -j ACCEPT
else
iptables -A INPUT -m state --state NEW -i $EXTIF -m $PROTOCOL -p $PROTOCOL --dport $PORT -j ACCEPT
fi
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|