summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-25 16:13:38 +0100
committerGitHub <noreply@github.com>2021-01-25 16:13:38 +0100
commit836c4724018e4d184b1b1bf21c6984f1adf57b04 (patch)
tree740f53f1a27f8c0d5ad7e9c02f254295adf3b05c /data
parent5fc79c9f5f224ccb32308c1fe0f2f1e4822d4c8a (diff)
parentb64b45c6a5b66b8d6b07ab5a03fccaeabb3677a9 (diff)
downloadvyos-1x-836c4724018e4d184b1b1bf21c6984f1adf57b04.tar.gz
vyos-1x-836c4724018e4d184b1b1bf21c6984f1adf57b04.zip
Merge pull request #697 from DmitriyEshenko/1x-pppoe-2501202101
pppoe: T3251: Add double-quotes to protect special characters
Diffstat (limited to 'data')
-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 }}