diff options
| author | Ryan Zuwala <ryanzuwala@gmail.com> | 2025-04-23 16:32:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-23 22:32:53 +0200 |
| commit | c898ce2e096d77db37c3bb65a004a29190879c30 (patch) | |
| tree | ee1d73cea005a28a36b13c9c059b3b39ff36aa9a /data | |
| parent | 88e8a1e5c8b29d3795c097c4a3988b0ab0e98f89 (diff) | |
| download | vyos-1x-c898ce2e096d77db37c3bb65a004a29190879c30.tar.gz vyos-1x-c898ce2e096d77db37c3bb65a004a29190879c30.zip | |
router-advert: T7380: Implement auto-ignore-prefix syntax for router advertisements (#4463)
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/router-advert/radvd.conf.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/router-advert/radvd.conf.j2 b/data/templates/router-advert/radvd.conf.j2 index a83bd03ac..e37cfde6c 100644 --- a/data/templates/router-advert/radvd.conf.j2 +++ b/data/templates/router-advert/radvd.conf.j2 @@ -57,6 +57,13 @@ interface {{ iface }} { }; {% endfor %} {% endif %} +{% if iface_config.auto_ignore is vyos_defined %} + autoignoreprefixes { +{% for auto_ignore_prefix in iface_config.auto_ignore %} + {{ auto_ignore_prefix }}; +{% endfor %} + }; +{% endif %} {% if iface_config.prefix is vyos_defined %} {% for prefix, prefix_options in iface_config.prefix.items() %} prefix {{ prefix }} { |
