diff options
author | Hikari Kongou <hikari@iloli.bid> | 2024-08-27 21:55:51 +0800 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-02 11:01:00 +0000 |
commit | e6b26f2c7420840b1d1e300139b729abc27c81ac (patch) | |
tree | b4c613bd100e6d1a846be55b7c1069ae654431cd | |
parent | 99556ee5e61f2335bffc827ba91a5aad6f4e7f99 (diff) | |
download | vyos-1x-e6b26f2c7420840b1d1e300139b729abc27c81ac.tar.gz vyos-1x-e6b26f2c7420840b1d1e300139b729abc27c81ac.zip |
T6681: Add option for SLAAC to support suppress Interval Advertisement in RAs
(cherry picked from commit eec95109981140f1b4323bcf4526c10c6364d9ae)
-rw-r--r-- | data/templates/router-advert/radvd.conf.j2 | 2 | ||||
-rw-r--r-- | interface-definitions/service_router-advert.xml.in | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/data/templates/router-advert/radvd.conf.j2 b/data/templates/router-advert/radvd.conf.j2 index 97180d164..a83bd03ac 100644 --- a/data/templates/router-advert/radvd.conf.j2 +++ b/data/templates/router-advert/radvd.conf.j2 @@ -19,7 +19,7 @@ interface {{ iface }} { {% if iface_config.reachable_time is vyos_defined %} AdvReachableTime {{ iface_config.reachable_time }}; {% endif %} - AdvIntervalOpt {{ 'off' if iface_config.no_send_advert is vyos_defined else 'on' }}; + AdvIntervalOpt {{ 'off' if iface_config.no_send_interval is vyos_defined else 'on' }}; AdvSendAdvert {{ 'off' if iface_config.no_send_advert is vyos_defined else 'on' }}; {% if iface_config.default_lifetime is vyos_defined %} AdvDefaultLifetime {{ iface_config.default_lifetime }}; diff --git a/interface-definitions/service_router-advert.xml.in b/interface-definitions/service_router-advert.xml.in index 166a4a0cf..3fd33540a 100644 --- a/interface-definitions/service_router-advert.xml.in +++ b/interface-definitions/service_router-advert.xml.in @@ -390,6 +390,12 @@ <valueless/> </properties> </leafNode> + <leafNode name="no-send-interval"> + <properties> + <help>Do not send Advertisement Interval option in RAs</help> + <valueless/> + </properties> + </leafNode> </children> </tagNode> </children> |