summaryrefslogtreecommitdiff
path: root/data/templates/high-availability/10-override.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/high-availability/10-override.conf.j2')
-rw-r--r--data/templates/high-availability/10-override.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/high-availability/10-override.conf.j2 b/data/templates/high-availability/10-override.conf.j2
index d1cb25581..c153f09b4 100644
--- a/data/templates/high-availability/10-override.conf.j2
+++ b/data/templates/high-availability/10-override.conf.j2
@@ -1,5 +1,5 @@
### Autogenerated by ${vyos_conf_scripts_dir}/high-availability.py ###
-{% set snmp = '' if vrrp.disable_snmp is vyos_defined else '--snmp' %}
+{% set snmp = '--snmp' if vrrp.snmp is vyos_defined else '' %}
[Unit]
After=vyos-router.service
# Only start if there is our configuration file - remove Debian default