diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-03-04 16:01:41 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-03-04 16:01:41 +0000 |
commit | c951926f4ceade475301fc00b4af61ffdecbdd08 (patch) | |
tree | 372a9cf262dbc0e6b0bbbc0acd955d878d1837e7 /lib/network/drakfirewall.pm | |
parent | b36a2ecc06fb80534f35bd2ea11bfc593668b418 (diff) | |
download | drakx-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.pm | 2 |
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"); } |