diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-12-17 08:19:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-17 08:19:51 +0100 |
commit | 86a2d0fc2bfea4757c6413b37540d619e79a8980 (patch) | |
tree | 1a3ba154fe6a2b634f44963ba57c653bcc5bdd0e /data | |
parent | c44cd46619ba8e765ad312cc2710fa3ea04f21ae (diff) | |
parent | 13071a4a534b2101120e0c007f0fbb5174b79052 (diff) | |
download | vyos-1x-86a2d0fc2bfea4757c6413b37540d619e79a8980.tar.gz vyos-1x-86a2d0fc2bfea4757c6413b37540d619e79a8980.zip |
Merge pull request #1712 from roedie/T4809-2
T4809: radvd: Allow the use of AdvRASrcAddress
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 a464795ad..f4b384958 100644 --- a/data/templates/router-advert/radvd.conf.j2 +++ b/data/templates/router-advert/radvd.conf.j2 @@ -43,6 +43,13 @@ interface {{ iface }} { }; {% endfor %} {% endif %} +{% if iface_config.source_address is vyos_defined %} + AdvRASrcAddress { +{% for source_address in iface_config.source_address %} + {{ source_address }} +{% endfor %} + }; +{% endif %} {% if iface_config.prefix is vyos_defined %} {% for prefix, prefix_options in iface_config.prefix.items() %} prefix {{ prefix }} { |