From 3df2b69b155368383af121ac51a86f0d7b9a2896 Mon Sep 17 00:00:00 2001 From: Melchior MOULIN Date: Tue, 6 Feb 2024 20:03:25 +0100 Subject: [PATCH] fix: dhcp client add script string parameter (#348) add script string in dhcp client ressource --- routeros/resource_ip_dhcp_client.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/routeros/resource_ip_dhcp_client.go b/routeros/resource_ip_dhcp_client.go index 18e4b69d..43aa053c 100644 --- a/routeros/resource_ip_dhcp_client.go +++ b/routeros/resource_ip_dhcp_client.go @@ -23,6 +23,11 @@ func ResourceDhcpClient() *schema.Resource { Computed: true, Description: "IP address and netmask, which is assigned to DHCP Client from the Server.", }, + "script": { + Type: schema.TypeString, + Optional: true, + Description: "A script.", + }, KeyComment: PropCommentRw, "default_route_distance": { Type: schema.TypeInt,