]> git.proxmox.com Git - pve-firewall.git/blobdiff - src/PVE/API2/Firewall/Cluster.pm
really save options
[pve-firewall.git] / src / PVE / API2 / Firewall / Cluster.pm
index d7146f39970ecee89c5958f73b7bc58255d84978..5923aa84bd219f33f220a7ba820d6b3b940b5785 100644 (file)
@@ -105,6 +105,7 @@ __PACKAGE__->register_method({
     path => 'options',
     method => 'PUT',
     description => "Set Firewall options.",
+    protected => 1,
     parameters => {
        additionalProperties => 0,
        properties => &$add_option_properties({
@@ -133,7 +134,6 @@ __PACKAGE__->register_method({
            $cluster_conf->{options}->{enable} = $param->{enable} ? 1 : 0;
        }
 
-
        PVE::Firewall::save_clusterfw_conf($cluster_conf);
 
        return undef;