Files
webmin/firewall6/apply.cgi
Jamie Cameron 357ab56b6d Fix perms
2016-06-29 17:55:21 -07:00

16 lines
392 B
Perl
Executable File

#!/usr/local/bin/perl
# apply.cgi
# Apply the current firewall configuration
require './firewall6-lib.pl';
&ReadParse();
$access{'apply'} || &error($text{'apply_ecannot'});
&error_setup($text{'apply_err'});
$err = &apply_configuration();
&error($err) if ($err);
$err = &apply_cluster_configuration();
&error($err) if ($err);
&webmin_log("apply");
&redirect("index.cgi?table=$in{'table'}");