aboutsummaryrefslogtreecommitdiff
path: root/net/snort3/files/nftables.uc
diff options
context:
space:
mode:
Diffstat (limited to 'net/snort3/files/nftables.uc')
-rw-r--r--net/snort3/files/nftables.uc6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/snort3/files/nftables.uc b/net/snort3/files/nftables.uc
index 516033426..74b1678d6 100644
--- a/net/snort3/files/nftables.uc
+++ b/net/snort3/files/nftables.uc
@@ -1,6 +1,6 @@
# Do not edit, automatically generated. See /usr/share/snort/templates.
{%
-// Copyright (c) 2023 Eric Fahlgren <eric.fahlgren@gmail.com>
+// Copyright (c) 2023-2024 Eric Fahlgren <eric.fahlgren@gmail.com>
// SPDX-License-Identifier: GPL-2.0
let queues = `${nfq.queue_start}-${int(nfq.queue_start)+int(nfq.queue_count)-1}`;
@@ -14,9 +14,9 @@ table inet snort {
{% if (nfq.include) {
// We use the ucode include here, so that the included file is also
// part of the template and can use values passed in from the config.
- printf("\n\t\t#-- The following content included from '%s'\n", nfq.include);
+ printf("\n\t\t" + rpad(`#-- Include from '${nfq.include}'`, ">", 64) + "\n");
include(nfq.include, { snort, nfq });
- printf("\t\t#-- End of included file.\n\n");
+ printf("\t\t" + rpad("#-- End of included file.", "<", 64) + "\n\n");
} %}
counter queue flags bypass to {{ queues }}
}