summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
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 %}