From: Felix Fietkau Date: Thu, 23 Mar 2023 21:01:12 +0000 (+0100) Subject: fw4: enable flowtable counters X-Git-Url: http://git.openwrt.org/project/luci.git;master?a=commitdiff_plain;h=04a06bd70b9808b14444cae81a2faba4708ee231;p=project%2Ffirewall4.git fw4: enable flowtable counters This ensures that conntrack stats are updated for offloaded flows Signed-off-by: Felix Fietkau --- diff --git a/root/usr/share/firewall4/templates/ruleset.uc b/root/usr/share/firewall4/templates/ruleset.uc index 9537ba2..7bd9309 100644 --- a/root/usr/share/firewall4/templates/ruleset.uc +++ b/root/usr/share/firewall4/templates/ruleset.uc @@ -20,6 +20,7 @@ table inet fw4 { flowtable ft { hook ingress priority 0; devices = {{ fw4.set(flowtable_devices, true) }}; + counter; {% if (fw4.default_option("flow_offloading_hw")): %} flags offload; {% endif %}