diff --git a/routeros/resource_interface_ethernet_switch_rule.go b/routeros/resource_interface_ethernet_switch_rule.go index 9148a0e7..39b0a018 100644 --- a/routeros/resource_interface_ethernet_switch_rule.go +++ b/routeros/resource_interface_ethernet_switch_rule.go @@ -181,7 +181,7 @@ func ResourceInterfaceEthernetSwitchRule() *schema.Resource { CreateContext: DefaultCreate(resSchema), ReadContext: DefaultRead(resSchema), UpdateContext: DefaultUpdate(resSchema), - DeleteContext: DefaultSystemDelete(resSchema), + DeleteContext: DefaultDelete(resSchema), Importer: &schema.ResourceImporter{ StateContext: schema.ImportStatePassthroughContext,