[pve-devel] [PATCH pve-network] subnet: fix dhcp-dns-server format

Stefan Hanreich s.hanreich at proxmox.com
Tue Nov 21 19:28:21 CET 2023


Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
 src/PVE/Network/SDN/SubnetPlugin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,
 	},
-- 
2.39.2





More information about the pve-devel mailing list