ruleset.uc: don't trim newline before comment sign
authorStijn Tintel <stijn@linux-ipv6.be>
Fri, 7 Jan 2022 08:45:50 +0000 (10:45 +0200)
committerStijn Tintel <stijn@linux-ipv6.be>
Sun, 9 Jan 2022 13:22:05 +0000 (15:22 +0200)
commit21f311d93a68b4c095c0162b4be20ce4b4c2540b
tree8f7aa16abc63a3ba7b454999e9959a27f7adf5da
parent9a509d49b5925a27e54402cf16246881931b72c6
ruleset.uc: don't trim newline before comment sign

When flow offloading is enabled, the comment block is inserted in the
ruleset like this:

table inet fw4 { #
# Flowtable
#

This is due to the trimming of newlines which was done to avoid having
to modify all the test files. A better solution is to just add an extra
newline in the template.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Reviewed-by: Jo-Philipp Wich <jo@mein.io>
root/usr/share/firewall4/templates/ruleset.uc