#!/usr/local/bin/perl
# apply.cgi
# Apply the current firewall configuration

require './ipfw-lib.pl';
&ReadParse();
&error_setup($text{'apply_err'});
$rules = &get_config();
$err = &apply_rules($rules);
&error($err) if ($err);
&webmin_log("apply");
&redirect("");

