summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-07-19 00:41:54 +0200
committerDaniil Baturin <daniil@baturin.org>2019-08-31 02:41:50 +0200
commitd7ba46851c75788622a8e79dd02b5bb8c434797e (patch)
treebcee3be2a0cfa9c5ca0827ac20dd3f4d1fec74d3 /src
parent4332028111ce026704192375e8798701ac0e146e (diff)
downloadvyos-1x-d7ba46851c75788622a8e79dd02b5bb8c434797e.tar.gz
vyos-1x-d7ba46851c75788622a8e79dd02b5bb8c434797e.zip
[VRRP] T1362: quote VRRP password strings to avoid config parse errors.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/vrrp.py2
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 -%}