diff options
| author | Stijn Tintel | 2022-01-07 08:24:54 +0000 |
|---|---|---|
| committer | Stijn Tintel | 2022-01-09 13:21:58 +0000 |
| commit | 9a509d49b5925a27e54402cf16246881931b72c6 (patch) | |
| tree | 1b70f11f35aa11d10766f97807f1f339a4e5cc64 | |
| parent | b68cf67019452527d6a5a967b823a39dd1ba1edd (diff) | |
| download | firewall4-9a509d49b5925a27e54402cf16246881931b72c6.tar.gz | |
ruleset.uc: consolidate ip and ip6 offload
Remove the space before the comma while at it.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Reviewed-by: Jo-Philipp Wich <jo@mein.io>
| -rw-r--r-- | root/usr/share/firewall4/templates/ruleset.uc | 3 |
1 files changed, 1 insertions, 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")): %} |