summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-08-15 12:14:10 +0200
committerGitHub <noreply@github.com>2024-08-15 12:14:10 +0200
commitada962d9e458ed47d7c20537496305f20fc2b3f8 (patch)
treeb71e30d6e0e4f067456163ce65968d5d4253f8a2 /data
parent0988185158e4d7b24816c55a8ce47baf3e2a2e71 (diff)
parent747363e3ecd303e515cccdac381f321683613e20 (diff)
downloadvyos-1x-ada962d9e458ed47d7c20537496305f20fc2b3f8.tar.gz
vyos-1x-ada962d9e458ed47d7c20537496305f20fc2b3f8.zip
Merge pull request #3982 from nicolas-fort/T6636
T6636: firewall: fix firewall template in order print logs for default-action
Diffstat (limited to 'data')
-rwxr-xr-x[-rw-r--r--]data/templates/firewall/nftables.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/data/templates/firewall/nftables.j2 b/data/templates/firewall/nftables.j2
index 82dcefac0..155b7f4d0 100644..100755
--- a/data/templates/firewall/nftables.j2
+++ b/data/templates/firewall/nftables.j2
@@ -135,7 +135,7 @@ table ip vyos_filter {
{% endif %}
{% endfor %}
{% endif %}
- {{ conf | nft_default_rule(name_text, 'ipv4') }}
+ {{ conf | nft_default_rule('NAM-' + name_text, 'ipv4') }}
}
{% endfor %}
{% endif %}
@@ -287,7 +287,7 @@ table ip6 vyos_filter {
{% endif %}
{% endfor %}
{% endif %}
- {{ conf | nft_default_rule(name_text, 'ipv6') }}
+ {{ conf | nft_default_rule('NAM-' + name_text, 'ipv6') }}
}
{% endfor %}
{% endif %}
@@ -416,7 +416,7 @@ table bridge vyos_filter {
{% endif %}
{% endfor %}
{% endif %}
- {{ conf | nft_default_rule(name_text, 'bri') }}
+ {{ conf | nft_default_rule('NAM-' + name_text, 'bri') }}
}
{% endfor %}
{% endif %}