From cd55360364e1d4fd8c355432237e8610fb4af18e Mon Sep 17 00:00:00 2001 From: Vaerh Date: Mon, 15 Apr 2024 20:31:17 +0300 Subject: [PATCH] fix(no-release): [Backward compatibility] routeros_ip_firewall_filter NOT WORKING AS EXPECTED Fixes #418 --- routeros/resource_ip_firewall_filter.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/routeros/resource_ip_firewall_filter.go b/routeros/resource_ip_firewall_filter.go index 2f9d967b..37c93cb1 100644 --- a/routeros/resource_ip_firewall_filter.go +++ b/routeros/resource_ip_firewall_filter.go @@ -35,7 +35,6 @@ func ResourceIPFirewallFilter() *schema.Resource { "address_list_timeout": { Type: schema.TypeString, Optional: true, - Default: "none-dynamic", Description: "Time interval after which the address will be removed from the address list specified by " + "address-list parameter. Used in conjunction with add-dst-to-address-list or add-src-to-address-list " + "actions.", @@ -226,10 +225,10 @@ func ResourceIPFirewallFilter() *schema.Resource { "rate[/time],burst:mode.", }, "log": { - Type: schema.TypeBool, - Optional: true, - Default: false, - Description: "Add a message to the system log.", + Type: schema.TypeBool, + Optional: true, + Description: "Add a message to the system log.", + DiffSuppressFunc: AlwaysPresentNotUserProvided, }, "log_prefix": { Type: schema.TypeString,