summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-12-26 19:31:38 +0100
committerGitHub <noreply@github.com>2022-12-26 19:31:38 +0100
commit4bab998b4e7fe6eca57a3fe9ffba2d2be8f123b2 (patch)
treeb92f083b70acf6a1fa60ce9ca4cbb6a2201fd633 /data
parenteb313d1ce15b65a5d4f69338f00beeeb5e824652 (diff)
parentdf18e6510bb94d1a3acf018c3a8fc3ffc5b61028 (diff)
downloadvyos-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.tmpl7
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 }} {