summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Hanreich <s.hanreich@proxmox.com>2023-11-21 19:28:21 +0100
committerThomas Lamprecht <t.lamprecht@proxmox.com>2023-11-21 20:34:15 +0100
commit42ff574f3c2b884671aee316c2a66dcef7a1640c (patch)
tree389838caa2c3f4602a8b578e4390399dc7cc35b3
parent596d9c238a0c3bee66ae7625e928a583ac099dbb (diff)
subnet: fix dhcp-dns-server format
Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
-rw-r--r--src/PVE/Network/SDN/SubnetPlugin.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PVE/Network/SDN/SubnetPlugin.pm b/src/PVE/Network/SDN/SubnetPlugin.pm
index 88933f5..37b6b2b 100644
--- a/src/PVE/Network/SDN/SubnetPlugin.pm
+++ b/src/PVE/Network/SDN/SubnetPlugin.pm
@@ -107,7 +107,7 @@ sub properties {
}
},
'dhcp-dns-server' => {
- type => 'ip',
+ type => 'string', format => 'ip',
description => 'IP address for the DNS server',
optional => 1,
},