Skip to content

Commit 069e738

Browse files
committed
Fix: Add missing newline in FORWARD_TEMPLATE
1 parent 1657c62 commit 069e738

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nft-blackhole.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@
4949
'\t\tip6 saddr @whitelist-v6 counter accept\n'
5050
'\t\tip saddr @blacklist-v4 counter ${block_policy}\n'
5151
'\t\tip6 saddr @blacklist-v6 counter ${block_policy}\n'
52-
'\t\t${country_ex_ports_rule}'
52+
'\t\t${country_ex_ports_rule}\n'
5353
'\t\tip saddr @country-v4 counter ${country_policy}\n'
5454
'\t\tip6 saddr @country-v6 counter ${country_policy}\n'
55-
'\t\tcounter\n\t}').expandtabs()
55+
'\t\tcounter\n\t}').expandtabs()
5656

5757
OUTPUT_TEMPLATE = ('\tchain output {\n\t\ttype filter hook output priority -1; policy accept;\n'
5858
'\t\tip daddr @whitelist-v4 counter accept\n'

0 commit comments

Comments
 (0)