summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-11-23 20:07:03 +0100
committerGitHub <noreply@github.com>2022-11-23 20:07:03 +0100
commit39394976aeb64bbe1d1e8fe3047af7a28f3f1dda (patch)
tree4f3edc0ea7a8b0802174462fb8ad28f61d891a72 /data/templates
parent1892b4ea32139b086bb73b63ed24f202774807c1 (diff)
parent96b8107b437925b1b02399dedab8c3b887cf5093 (diff)
downloadvyos-1x-39394976aeb64bbe1d1e8fe3047af7a28f3f1dda.tar.gz
vyos-1x-39394976aeb64bbe1d1e8fe3047af7a28f3f1dda.zip
Merge pull request #1675 from roedie/T4835
T4835: snmpd: Fix copy/paste error in snmpd.conf
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/snmp/etc.snmpd.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/snmp/etc.snmpd.conf.j2 b/data/templates/snmp/etc.snmpd.conf.j2
index d7dc0ba5d..57ad704c0 100644
--- a/data/templates/snmp/etc.snmpd.conf.j2
+++ b/data/templates/snmp/etc.snmpd.conf.j2
@@ -69,7 +69,7 @@ agentaddress unix:/run/snmpd.socket{{ ',' ~ options | join(',') if options is vy
{% for network in comm_config.network %}
{% if network | is_ipv4 %}
{{ comm_config.authorization }}community {{ comm }} {{ network }}
-{% elif client | is_ipv6 %}
+{% elif network | is_ipv6 %}
{{ comm_config.authorization }}community6 {{ comm }} {{ network }}
{% endif %}
{% endfor %}