diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-12-26 19:31:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-26 19:31:38 +0100 |
commit | 4bab998b4e7fe6eca57a3fe9ffba2d2be8f123b2 (patch) | |
tree | b92f083b70acf6a1fa60ce9ca4cbb6a2201fd633 /data | |
parent | eb313d1ce15b65a5d4f69338f00beeeb5e824652 (diff) | |
parent | df18e6510bb94d1a3acf018c3a8fc3ffc5b61028 (diff) | |
download | vyos-1x-4bab998b4e7fe6eca57a3fe9ffba2d2be8f123b2.tar.gz vyos-1x-4bab998b4e7fe6eca57a3fe9ffba2d2be8f123b2.zip |
Merge pull request #1717 from roedie/1.3-T4809
T4809: radvd: (Backport) Allow the use of AdvRASrcAddress
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/router-advert/radvd.conf.tmpl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/router-advert/radvd.conf.tmpl b/data/templates/router-advert/radvd.conf.tmpl index 88d066491..4be6797ee 100644 --- a/data/templates/router-advert/radvd.conf.tmpl +++ b/data/templates/router-advert/radvd.conf.tmpl @@ -43,6 +43,13 @@ interface {{ iface }} { }; {% endfor %} {% endif %} +{% if iface_config.source_address is defined %} + AdvRASrcAddress { +{% for source_address in iface_config.source_address %} + {{ source_address }}; +{% endfor %} + }; +{% endif %} {% if iface_config.prefix is defined and iface_config.prefix is not none %} {% for prefix, prefix_options in iface_config.prefix.items() %} prefix {{ prefix }} { |