-n was added
This commit is contained in:
@@ -420,7 +420,7 @@ else
|
||||
############################
|
||||
# Host firewall settings ###
|
||||
|
||||
if $IPTABLES -w --list $CHAIN |grep ESTABLISHED |grep RELATED|grep ACCEPT ; then
|
||||
if $IPTABLES -w -n --list $CHAIN |grep ESTABLISHED |grep RELATED|grep ACCEPT ; then
|
||||
echo "nothing to do";
|
||||
else
|
||||
$IPTABLES -w -I $CHAIN -m state --state established,related -j ACCEPT;
|
||||
|
Reference in New Issue
Block a user