Use reload on Gentoo, to avoid bug 1857488
authorJamie Cameron <jcameron@webmin.com>
Tue, 25 Dec 2007 05:50:11 +0000 (05:50 +0000)
committerJamie Cameron <jcameron@webmin.com>
Tue, 25 Dec 2007 05:50:11 +0000 (05:50 +0000)
firewall/gentoo-linux-lib.pl

index 8f312bc..085ffe5 100644 (file)
@@ -19,7 +19,7 @@ $iptables_save_file = $iptconf{'IPTABLES_SAVE'};
 # Applies the current iptables configuration from the save file
 sub apply_iptables
 {
-local $out = &backquote_logged("cd / ; /etc/init.d/iptables restart 2>&1");
+local $out = &backquote_logged("cd / ; /etc/init.d/iptables reload 2>&1");
 return $? ? "<pre>$out</pre>" : undef;
 }