summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-07-19 00:41:54 +0200
committerDaniil Baturin <daniil@baturin.org>2019-07-19 00:41:54 +0200
commitc0b7e14cb2adf5e686a46d5d25c4aed63bac9f53 (patch)
treed9aa37f9824674d5b8cabd347b0089222882abc4
parent4236848372a4565141167877f2eb32b0eedae577 (diff)
downloadvyos-1x-c0b7e14cb2adf5e686a46d5d25c4aed63bac9f53.tar.gz
vyos-1x-c0b7e14cb2adf5e686a46d5d25c4aed63bac9f53.zip
[VRRP] T1362: quote VRRP password strings to avoid config parse errors.
-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 -%}