mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
15 lines
299 B
Perl
Executable File
15 lines
299 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# apply.cgi
|
|
# Apply the current firewall configuration
|
|
|
|
require './ipfw-lib.pl';
|
|
&ReadParse();
|
|
&error_setup($text{'apply_err'});
|
|
$err = &apply_rules();
|
|
&error($err) if ($err);
|
|
$err = &apply_cluster_configuration();
|
|
&error($err) if ($err);
|
|
&webmin_log("apply");
|
|
&redirect("");
|
|
|