diff options
author | Daniil Baturin <daniil@baturin.org> | 2019-07-19 00:41:54 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-08-31 02:41:50 +0200 |
commit | d7ba46851c75788622a8e79dd02b5bb8c434797e (patch) | |
tree | bcee3be2a0cfa9c5ca0827ac20dd3f4d1fec74d3 /src/conf_mode/vrrp.py | |
parent | 4332028111ce026704192375e8798701ac0e146e (diff) | |
download | vyos-1x-d7ba46851c75788622a8e79dd02b5bb8c434797e.tar.gz vyos-1x-d7ba46851c75788622a8e79dd02b5bb8c434797e.zip |
[VRRP] T1362: quote VRRP password strings to avoid config parse errors.
Diffstat (limited to 'src/conf_mode/vrrp.py')
-rwxr-xr-x | src/conf_mode/vrrp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vrrp.py b/src/conf_mode/vrrp.py index 85c6ad580..a08493309 100755 --- a/src/conf_mode/vrrp.py +++ b/src/conf_mode/vrrp.py @@ -85,7 +85,7 @@ vrrp_instance {{ group.name }} { {% if group.auth_password -%} authentication { - auth_pass {{ group.auth_password }} + auth_pass "{{ group.auth_password }}" auth_type {{ group.auth_type }} } {% endif -%} |