version 1.4, 2009/07/06 00:07:19
|
version 1.5, 2009/07/17 00:15:49
|
Line 301 sub get_fw_chain {
|
Line 301 sub get_fw_chain {
|
$fw_chain = 'input_ext'; |
$fw_chain = 'input_ext'; |
} else { |
} else { |
if (!-e '/etc/sysconfig/iptables') { |
if (!-e '/etc/sysconfig/iptables') { |
print("Unable to find iptables file containing static definitions\n"); |
if (!-e '/var/lib/iptables') { |
|
print("Unable to find iptables file containing static definitions\n"); |
|
} |
} |
} |
if ($iptables eq '') { |
if ($iptables eq '') { |
$iptables = &get_pathto_iptables(); |
$iptables = &get_pathto_iptables(); |