Skip to content

Commit

Permalink
fix(#110): Add a default value for the "bootp_support" field
Browse files Browse the repository at this point in the history
  • Loading branch information
vaerh authored and gfenn-newbury committed Feb 23, 2023
1 parent 18fce1b commit a1c428b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routeros/resource_ip_dhcp_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
Expand Down

0 comments on commit a1c428b

Please sign in to comment.