We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f961a80 commit f7f2536Copy full SHA for f7f2536
packages/ns-dpi/files/dpi-nft
@@ -17,7 +17,10 @@ chain dpi_blocks {
17
18
# init is to allow kernel to set labels
19
ct label set netify-init
20
- ct label netify-block counter {% if log_enabled %}log prefix "DPI block: " limit rate {{ log_limit }} {% endif %}drop
+ {% if log_enabled -%}
21
+ ct label netify-block counter log prefix "DPI block: " limit rate {{ log_limit }}
22
+ {% endif -%}
23
+ ct label netify-block counter drop
24
}
25
26
"""
0 commit comments