diff options
author | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2021-01-25 12:15:01 +0000 |
---|---|---|
committer | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2021-01-25 15:12:48 +0000 |
commit | b64b45c6a5b66b8d6b07ab5a03fccaeabb3677a9 (patch) | |
tree | 3fd8076cd3f93182619bac8ea635eb472a939de5 | |
parent | 73cc357b757eb6129db286709812996ebcc4fd19 (diff) | |
download | vyos-1x-b64b45c6a5b66b8d6b07ab5a03fccaeabb3677a9.tar.gz vyos-1x-b64b45c6a5b66b8d6b07ab5a03fccaeabb3677a9.zip |
pppoe: T3251: Add double-quotes to protect special characters
-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 }} |