diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-25 16:13:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-25 16:13:38 +0100 |
commit | 836c4724018e4d184b1b1bf21c6984f1adf57b04 (patch) | |
tree | 740f53f1a27f8c0d5ad7e9c02f254295adf3b05c /data | |
parent | 5fc79c9f5f224ccb32308c1fe0f2f1e4822d4c8a (diff) | |
parent | b64b45c6a5b66b8d6b07ab5a03fccaeabb3677a9 (diff) | |
download | vyos-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.tmpl | 4 |
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 }} |