Skip to content

Commit

Permalink
fix: New field address_list_extra_time
Browse files Browse the repository at this point in the history
in routeros_dns (in 7.10) #230
  • Loading branch information
vaerh committed Oct 1, 2023
1 parent 4a2ea39 commit 165a373
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions routeros/resource_ip_dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,17 @@ func ResourceDns() *schema.Resource {
},
}

if ROSVersion >= v7_10 {
resSchema["address_list_extra_time"] = &schema.Schema{
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: "",
ValidateFunc: ValidationTime,
DiffSuppressFunc: TimeEquall,
}
}

return &schema.Resource{
Description: "A MikroTik router with DNS feature enabled can be set as a DNS server for any DNS-compliant client.",

Expand Down

0 comments on commit 165a373

Please sign in to comment.