We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1657c62 commit 069e738Copy full SHA for 069e738
nft-blackhole.py
@@ -49,10 +49,10 @@
49
'\t\tip6 saddr @whitelist-v6 counter accept\n'
50
'\t\tip saddr @blacklist-v4 counter ${block_policy}\n'
51
'\t\tip6 saddr @blacklist-v6 counter ${block_policy}\n'
52
- '\t\t${country_ex_ports_rule}'
+ '\t\t${country_ex_ports_rule}\n'
53
'\t\tip saddr @country-v4 counter ${country_policy}\n'
54
'\t\tip6 saddr @country-v6 counter ${country_policy}\n'
55
- '\t\tcounter\n\t}').expandtabs()
+ '\t\tcounter\n\t}').expandtabs()
56
57
OUTPUT_TEMPLATE = ('\tchain output {\n\t\ttype filter hook output priority -1; policy accept;\n'
58
'\t\tip daddr @whitelist-v4 counter accept\n'
0 commit comments