diff options
| author | Daniil Baturin <daniil@vyos.io> | 2026-08-03 15:19:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-03 15:19:35 +0100 |
| commit | dd2673bf9ad36ea7ecb6998b71f318516b95e8d8 (patch) | |
| tree | 756d0cae0a7140f5818544d0b820cf7368e99237 /data | |
| parent | 221d4fb6c199e6803fb454c6567f9dde2e2902d1 (diff) | |
| parent | c031fd07a098b958cbcac681e3431e33a435da3c (diff) | |
| download | vyos-1x-dd2673bf9ad36ea7ecb6998b71f318516b95e8d8.tar.gz vyos-1x-dd2673bf9ad36ea7ecb6998b71f318516b95e8d8.zip | |
Merge pull request #5355 from statio/T9128-nhrp-tunnel-firewall-rules
nhrp: T9128: fix duplicate nftables meter name for multiple redirect tunnels
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/frr/nhrpd_nftables.conf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/frr/nhrpd_nftables.conf.j2 b/data/templates/frr/nhrpd_nftables.conf.j2 index 6ae35ef52..90a81c70b 100644 --- a/data/templates/frr/nhrpd_nftables.conf.j2 +++ b/data/templates/frr/nhrpd_nftables.conf.j2 @@ -37,7 +37,7 @@ table ip vyos_nhrp_redirect { {% if tunnel is vyos_defined %} {% for tun, tunnel_conf in tunnel.items() %} {% if tunnel_conf.redirect is vyos_defined %} - iifname "{{ tun }}" oifname "{{ tun }}" meter loglimit-0 size 65535 { ip daddr & 255.255.255.0 . ip saddr & 255.255.255.0 timeout 1m limit rate 4/minute burst 1 packets } counter log group {{ redirect }} + iifname "{{ tun }}" oifname "{{ tun }}" meter loglimit-{{ loop.index0 }} size 65535 { ip daddr & 255.255.255.0 . ip saddr & 255.255.255.0 timeout 1m limit rate 4/minute burst 1 packets } counter log group {{ redirect }} {% endif %} {% endfor %} {% endif %} |
