summaryrefslogtreecommitdiff
path: root/data/templates/pppoe
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/pppoe')
-rw-r--r--data/templates/pppoe/peer.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/pppoe/peer.tmpl b/data/templates/pppoe/peer.tmpl
index db2cc6188..0f78f9384 100644
--- a/data/templates/pppoe/peer.tmpl
+++ b/data/templates/pppoe/peer.tmpl
@@ -47,8 +47,8 @@ mtu {{ mtu }}
mru {{ mtu }}
{% if authentication is defined %}
-{{ "user " + authentication.user if authentication.user is defined }}
-{{ "password " + authentication.password if authentication.password is defined }}
+{{ 'user "' + authentication.user + '"' if authentication.user is defined }}
+{{ 'password "' + authentication.password + '"' if authentication.password is defined }}
{% endif %}
{{ "usepeerdns" if no_peer_dns is not defined }}