[pve-devel] [PATCH 2/2] firewall instant API call apply

Alen Grizonic a.grizonic at proxmox.com
Thu Jun 25 11:36:42 CEST 2015


---
 src/PVE/API2/Firewall/Cluster.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/PVE/API2/Firewall/Cluster.pm b/src/PVE/API2/Firewall/Cluster.pm
index b924f4e..ea51fcc 100644
--- a/src/PVE/API2/Firewall/Cluster.pm
+++ b/src/PVE/API2/Firewall/Cluster.pm
@@ -175,6 +175,8 @@ __PACKAGE__->register_method({
 
 	PVE::Firewall::save_clusterfw_conf($cluster_conf);
 
+	PVE::Firewall::update();
+
 	return undef;
     }});
 
-- 
2.1.4





More information about the pve-devel mailing list