Signed-off-by: Alexandre Derumier <aderum...@odiso.com>
---
 PVE/API2/Network/SDN/Subnets.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Network/SDN/Subnets.pm b/PVE/API2/Network/SDN/Subnets.pm
index a3bc10b..07ef2e1 100644
--- a/PVE/API2/Network/SDN/Subnets.pm
+++ b/PVE/API2/Network/SDN/Subnets.pm
@@ -240,7 +240,7 @@ __PACKAGE__->register_method ({
            raise_param_exc({ ipam => "you can't change ipam"}) if 
$opts->{ipam} && $scfg->{ipam} && $opts->{ipam} ne $scfg->{ipam};
 
            my $subnet = PVE::Network::SDN::Subnets::sdn_subnets_config($cfg, 
$id);
-           PVE::Network::SDN::SubnetPlugin->on_update_hook($zone, $id, 
$subnet);
+           PVE::Network::SDN::SubnetPlugin->on_update_hook($zone, $id, 
$subnet, $scfg);
 
            PVE::Network::SDN::Subnets::write_config($cfg);
 
-- 
2.20.1


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to