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

diff --git a/PVE/Network/SDN/Subnets.pm b/PVE/Network/SDN/Subnets.pm
index 808c1bf..5446044 100644
--- a/PVE/Network/SDN/Subnets.pm
+++ b/PVE/Network/SDN/Subnets.pm
@@ -202,7 +202,7 @@ sub next_free_ip {
        #rollback
        my $err = $@;
        eval {
-           PVE::Network::SDN::Subnets::del_ip($subnetid, $subnet, $ip, 
$hostname)
+           PVE::Network::SDN::Subnets::del_ip($zone, $subnetid, $subnet, $ip, 
$hostname)
        };
        die $err;
     }
@@ -250,7 +250,7 @@ sub add_ip {
        #rollback
        my $err = $@;
        eval {
-           PVE::Network::SDN::Subnets::del_ip($subnetid, $subnet, $ip, 
$hostname)
+           PVE::Network::SDN::Subnets::del_ip($zone, $subnetid, $subnet, $ip, 
$hostname)
        };
        die $err;
     }
-- 
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