From a1c428b1e6d77976dd0ffd2931c3bb45b0ca10ca Mon Sep 17 00:00:00 2001 From: Vaerh Date: Thu, 23 Feb 2023 22:21:21 +0300 Subject: [PATCH] fix(#110): Add a default value for the "bootp_support" field --- routeros/resource_ip_dhcp_server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routeros/resource_ip_dhcp_server.go b/routeros/resource_ip_dhcp_server.go index 9700d685..737f6aa0 100644 --- a/routeros/resource_ip_dhcp_server.go +++ b/routeros/resource_ip_dhcp_server.go @@ -50,6 +50,7 @@ func ResourceDhcpServer() *schema.Resource { "bootp_support": { Type: schema.TypeString, Optional: true, + Default: "static", Description: "Support for BOOTP clients.", ValidateFunc: validation.StringInSlice([]string{"none", "static", "dynamic"}, false), },