summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-31 16:16:08 +0200
committerGitHub <noreply@github.com>2023-03-31 16:16:08 +0200
commit11ace86f58261908f1ab15366b73aeddb14745c9 (patch)
tree9b76855c810d1a6600e2c8a3796bddafebb11133 /data
parentd98b70aead175809f9b14b9f16779481bbde0877 (diff)
parentc41af9698abaeb1dc656933570c14fc9d75c9ce5 (diff)
downloadvyos-1x-11ace86f58261908f1ab15366b73aeddb14745c9.tar.gz
vyos-1x-11ace86f58261908f1ab15366b73aeddb14745c9.zip
Merge pull request #1922 from nicolas-fort/T5128
T5128: Policy Route: allow wildcard on interface
Diffstat (limited to 'data')
-rw-r--r--data/templates/firewall/nftables-policy.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/firewall/nftables-policy.j2 b/data/templates/firewall/nftables-policy.j2
index 6cb3b2f95..7a89d29e4 100644
--- a/data/templates/firewall/nftables-policy.j2
+++ b/data/templates/firewall/nftables-policy.j2
@@ -11,7 +11,7 @@ table ip vyos_mangle {
type filter hook prerouting priority -150; policy accept;
{% if route is vyos_defined %}
{% for route_text, conf in route.items() if conf.interface is vyos_defined %}
- iifname { {{ ",".join(conf.interface) }} } counter jump VYOS_PBR_{{ route_text }}
+ iifname { {{ conf.interface | join(",") }} } counter jump VYOS_PBR_{{ route_text }}
{% endfor %}
{% endif %}
}