diff options
| author | Hannes Duerr <h.duerr@proxmox.com> | 2025-02-10 15:19:27 +0100 |
|---|---|---|
| committer | Thomas Lamprecht <t.lamprecht@proxmox.com> | 2025-03-06 10:00:21 +0100 |
| commit | 9829f51a48c6e5e3e48d4705df8a14ea2d114007 (patch) | |
| tree | d0aaa7b7e05f60da8a71dafb150be71ff4dc3300 | |
| parent | 81ee673f6646eb4e3caef513096783acf1a6d78e (diff) | |
ipam: phpIPAM: remove unused variables
Signed-off-by: Hannes Duerr <h.duerr@proxmox.com>
Tested-by: Stefan Hanreich <s.hanreich@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
| -rw-r--r-- | src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm b/src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm index 0321a7f..aa85b10 100644 --- a/src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm +++ b/src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm @@ -44,7 +44,6 @@ sub add_subnet { my $network = $subnet->{network}; my $mask = $subnet->{mask}; - my $gateway = $subnet->{gateway}; my $url = $plugin_config->{url}; my $token = $plugin_config->{token}; my $section = $plugin_config->{section}; @@ -72,7 +71,6 @@ sub del_subnet { my $cidr = $subnet->{cidr}; my $url = $plugin_config->{url}; my $token = $plugin_config->{token}; - my $section = $plugin_config->{section}; my $headers = ['Content-Type' => 'application/json; charset=UTF-8', 'Token' => $token]; my $internalid = get_prefix_id($url, $cidr, $headers); @@ -90,7 +88,6 @@ sub add_ip { my $cidr = $subnet->{cidr}; my $url = $plugin_config->{url}; my $token = $plugin_config->{token}; - my $section = $plugin_config->{section}; my $headers = ['Content-Type' => 'application/json; charset=UTF-8', 'Token' => $token]; my $internalid = get_prefix_id($url, $cidr, $headers); @@ -123,7 +120,6 @@ sub update_ip { my $cidr = $subnet->{cidr}; my $url = $plugin_config->{url}; my $token = $plugin_config->{token}; - my $section = $plugin_config->{section}; my $headers = ['Content-Type' => 'application/json; charset=UTF-8', 'Token' => $token]; my $ip_id = get_ip_id($url, $ip, $headers); @@ -152,7 +148,6 @@ sub add_next_freeip { my $mask = $subnet->{mask}; my $url = $plugin_config->{url}; my $token = $plugin_config->{token}; - my $section = $plugin_config->{section}; my $headers = ['Content-Type' => 'application/json; charset=UTF-8', 'Token' => $token]; my $internalid = get_prefix_id($url, $cidr, $headers); |
