From 9a509d49b5925a27e54402cf16246881931b72c6 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Fri, 7 Jan 2022 10:24:54 +0200 Subject: [PATCH] ruleset.uc: consolidate ip and ip6 offload Remove the space before the comma while at it. Signed-off-by: Stijn Tintel Reviewed-by: Jo-Philipp Wich --- root/usr/share/firewall4/templates/ruleset.uc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/root/usr/share/firewall4/templates/ruleset.uc b/root/usr/share/firewall4/templates/ruleset.uc index 6b87a49..bb79205 100644 --- a/root/usr/share/firewall4/templates/ruleset.uc +++ b/root/usr/share/firewall4/templates/ruleset.uc @@ -89,8 +89,7 @@ table inet fw4 { type filter hook forward priority filter; policy {{ fw4.forward_policy(true) }}; {% if (fw4.default_option("flow_offloading") && length(devices) > 0): %} - ip protocol { tcp , udp } flow offload @ft; - ip6 nexthdr { tcp , udp } flow offload @ft; + meta l4proto { tcp, udp } flow offload @ft; {% endif %} ct state established,related accept comment "!fw4: Allow forwarded established and related flows" {% if (fw4.default_option("drop_invalid")): %} -- 2.30.2