summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Hanreich <s.hanreich@proxmox.com>2025-03-07 13:50:54 +0100
committerThomas Lamprecht <t.lamprecht@proxmox.com>2025-04-07 18:35:37 +0200
commite62b892fdc5d6b94d61af5424a6957983fbeeb29 (patch)
tree6caf721930b594e55e61084b8c0c75cd75fe674f
parent1a698b27f4e959bb2b63b9393a2c223d32fea020 (diff)
subnet: dhcp: fix typo in error message
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>
-rw-r--r--src/PVE/Network/SDN/SubnetPlugin.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PVE/Network/SDN/SubnetPlugin.pm b/src/PVE/Network/SDN/SubnetPlugin.pm
index faf1a05..107e2f7 100644
--- a/src/PVE/Network/SDN/SubnetPlugin.pm
+++ b/src/PVE/Network/SDN/SubnetPlugin.pm
@@ -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" })