]> git.puffer.fish Git - mirror/pve-network.git/commitdiff
subnet: dhcp: fix typo in error message
authorStefan Hanreich <s.hanreich@proxmox.com>
Fri, 7 Mar 2025 12:50:54 +0000 (13:50 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Apr 2025 16:35:37 +0000 (18:35 +0200)
Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
Tested-by: Hannes Duerr <h.duerr@proxmox.com>
Link: https://lore.proxmox.com/20250307125056.169575-2-s.hanreich@proxmox.com
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/Network/SDN/SubnetPlugin.pm

index faf1a05153bd175690152cfc0775797b893eb354..107e2f7ed322448c7654bfcd944c3a68523e4c8d 100644 (file)
@@ -87,10 +87,10 @@ sub validate_dhcp_ranges {
        my $dhcp_end = $dhcp_range->{'end-address'};
 
        my $start_ip = Net::IP->new($dhcp_start);
-       raise_param_exc({ 'dhcp-range' => "start-adress is not a valid IP $dhcp_start" }) if !$start_ip;
+       raise_param_exc({ 'dhcp-range' => "start-address is not a valid IP $dhcp_start" }) if !$start_ip;
 
        my $end_ip = Net::IP->new($dhcp_end);
-       raise_param_exc({ 'dhcp-range' => "end-adress is not a valid IP $dhcp_end" }) if !$end_ip;
+       raise_param_exc({ 'dhcp-range' => "end-address is not a valid IP $dhcp_end" }) if !$end_ip;
 
        if ($start_ip->bincomp('gt', $end_ip)) {
            raise_param_exc({ 'dhcp-range' => "start-address $dhcp_start must be smaller than end-address $dhcp_end" })