diff --git a/firewalld/files/zone.xml b/firewalld/files/zone.xml
index c730b1c..8a58e6a 100644
--- a/firewalld/files/zone.xml
+++ b/firewalld/files/zone.xml
@@ -60,7 +60,7 @@
{%- if 'limit' in rule.audit %} {%- endif %}
{%- endif %}
{%- if 'accept' in rule %}
-
+ {%- if rule.accept is mapping and 'limit' in rule.accept %} {%- endif %}
{%- endif %}
{%- if 'reject' in rule %}
diff --git a/test/integration/default/controls/zones_spec.rb b/test/integration/default/controls/zones_spec.rb
index 82382ba..eee6953 100644
--- a/test/integration/default/controls/zones_spec.rb
+++ b/test/integration/default/controls/zones_spec.rb
@@ -31,7 +31,7 @@ control 'zones/public.xml configuration' do
-
+
@@ -59,12 +59,12 @@ control 'zones/rich_public.xml configuration' do
-
+
-
+
ZONE_XML