summaryrefslogtreecommitdiff
path: root/data/templates/pppoe-server/pppoe.config.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/pppoe-server/pppoe.config.tmpl')
-rw-r--r--data/templates/pppoe-server/pppoe.config.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/templates/pppoe-server/pppoe.config.tmpl b/data/templates/pppoe-server/pppoe.config.tmpl
index 8bc6b5f4b..325b75adc 100644
--- a/data/templates/pppoe-server/pppoe.config.tmpl
+++ b/data/templates/pppoe-server/pppoe.config.tmpl
@@ -56,11 +56,11 @@ gw-ip-address={{ ppp_gw }}
{% if client_ipv6_pool %}
[ipv6-pool]
-{% for prefix in client_ipv6_pool['prefix']: %}
-{{ prefix }}
+{% for p in client_ipv6_pool %}
+{{ p.prefix }},{{ p.mask }}
{% endfor %}
-{% for prefix in client_ipv6_pool['delegate-prefix']: %}
-delegate={{ prefix }}
+{% for p in client_ipv6_delegate_prefix %}
+delegate={{ p.prefix }},{{ p.mask }}
{% endfor %}
{% endif %}