summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorjack9603301 <jack9603301@163.com>2021-01-23 21:44:44 +0800
committerjack9603301 <jack9603301@163.com>2021-01-23 21:49:08 +0800
commitaf91cdbf23157f7b6b7696de9bc27dafca6d7dee (patch)
treeaba6b3e39545a7784fadc356a479f035bc4f90a3 /data
parentc7a967b2d9c83fe4825d1ca672a9aa15615c5a99 (diff)
downloadvyos-1x-af91cdbf23157f7b6b7696de9bc27dafca6d7dee.tar.gz
vyos-1x-af91cdbf23157f7b6b7696de9bc27dafca6d7dee.zip
nptv6: T2518: Use better variable names
Diffstat (limited to 'data')
-rw-r--r--data/templates/proxy-ndp/ndppd.conf.tmpl9
1 files changed, 4 insertions, 5 deletions
diff --git a/data/templates/proxy-ndp/ndppd.conf.tmpl b/data/templates/proxy-ndp/ndppd.conf.tmpl
index 844b644b7..4393be169 100644
--- a/data/templates/proxy-ndp/ndppd.conf.tmpl
+++ b/data/templates/proxy-ndp/ndppd.conf.tmpl
@@ -30,16 +30,15 @@
{% endfor %}
{% endif %}
-{% for i in global.ndppd_interfaces %}
+{% for interface in global.ndppd_interfaces %}
-proxy {{ i }} {
+proxy {{ interface }} {
router yes
timeout 500
ttl 30000
{% for map in global.ndppd_prefixs %}
-{% if map.interface == i %}
-{% set p = map.rule %}
- rule {{ p }} {
+{% if map.interface == interface %}
+ rule {{ map.rule }} {
static
}
{% endif %}