summaryrefslogtreecommitdiff
path: root/data/templates/proxy-ndp/ndppd.conf.tmpl
diff options
context:
space:
mode:
authorjack9603301 <jack9603301@163.com>2021-01-22 13:16:55 +0800
committerjack9603301 <jack9603301@163.com>2021-01-23 21:45:31 +0800
commitd05593e68ff0978c278b13a42f246edcfad3902d (patch)
tree6f3cb7f58fb796c369f80d7d1bf023001617b5ab /data/templates/proxy-ndp/ndppd.conf.tmpl
parent88a6a034b1cb6a1a43c689281df92831d82c996c (diff)
downloadvyos-1x-d05593e68ff0978c278b13a42f246edcfad3902d.tar.gz
vyos-1x-d05593e68ff0978c278b13a42f246edcfad3902d.zip
nptv6: T2518: Optimized implementation
Diffstat (limited to 'data/templates/proxy-ndp/ndppd.conf.tmpl')
-rw-r--r--data/templates/proxy-ndp/ndppd.conf.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/proxy-ndp/ndppd.conf.tmpl b/data/templates/proxy-ndp/ndppd.conf.tmpl
index f9485a1cb..6ef9f3f8b 100644
--- a/data/templates/proxy-ndp/ndppd.conf.tmpl
+++ b/data/templates/proxy-ndp/ndppd.conf.tmpl
@@ -37,8 +37,8 @@ proxy {{ i }} {
timeout 500
ttl 30000
{% for map in global.ndppd_prefixs %}
-{% if map['interface'] == i %}
-{% set p = map['rule'] %}
+{% if map.interface == i %}
+{% set p = map.rule %}
rule {{ p }} {
static
}