summaryrefslogtreecommitdiffstats
path: root/lib/network/drakfirewall.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-04 16:01:41 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-04 16:01:41 +0000
commitc951926f4ceade475301fc00b4af61ffdecbdd08 (patch)
tree372a9cf262dbc0e6b0bbbc0acd955d878d1837e7 /lib/network/drakfirewall.pm
parentb36a2ecc06fb80534f35bd2ea11bfc593668b418 (diff)
downloaddrakx-net-c951926f4ceade475301fc00b4af61ffdecbdd08.tar
drakx-net-c951926f4ceade475301fc00b4af61ffdecbdd08.tar.gz
drakx-net-c951926f4ceade475301fc00b4af61ffdecbdd08.tar.bz2
drakx-net-c951926f4ceade475301fc00b4af61ffdecbdd08.tar.xz
drakx-net-c951926f4ceade475301fc00b4af61ffdecbdd08.zip
adapt Ifw rule to new shorewall
Diffstat (limited to 'lib/network/drakfirewall.pm')
-rw-r--r--lib/network/drakfirewall.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/drakfirewall.pm b/lib/network/drakfirewall.pm
index 600a5d3..3081aa4 100644
--- a/lib/network/drakfirewall.pm
+++ b/lib/network/drakfirewall.pm
@@ -239,7 +239,7 @@ sub set_ifw {
$_ .= join("\n", @list) . "\n" if eof && $enabled;
} "$::prefix/etc/shorewall/$file";
};
- $set_in_file->('start', "INCLUDE /etc/ifw/start", "INCLUDE /etc/ifw/rules", "iptables -I INPUT 2 -j Ifw");
+ $set_in_file->('start', "INCLUDE /etc/ifw/start", "INCLUDE /etc/ifw/rules", "iptables -I INPUT 1 -j Ifw");
$set_in_file->('stop', "iptables -D INPUT -j Ifw", "INCLUDE /etc/ifw/stop");
}