summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2023-03-30 12:55:30 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2023-03-31 12:28:24 +0000
commit599c5405e7ff5b76aa774b8cc97a82fbc053d46c (patch)
tree6cf68e89b33d6eebcc3d1e20c2859329ebaf04b3 /data
parent623dfc9d87d513bd69e5e6eef9664056dc1a45f1 (diff)
downloadvyos-1x-599c5405e7ff5b76aa774b8cc97a82fbc053d46c.tar.gz
vyos-1x-599c5405e7ff5b76aa774b8cc97a82fbc053d46c.zip
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 %}
}