summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-12-17 08:27:08 +0100
committerGitHub <noreply@github.com>2022-12-17 08:27:08 +0100
commit972e52ff308e0cecef5f6a37ee57acb8c18913fe (patch)
tree87bf914c7292900a2ebb80614a5d37c07559b2df /data
parent03862071cfbcde4008f9dfde4ea4593a0114cda8 (diff)
parent03d49fe0fc5020b851bd639a2cb94f911f48cbea (diff)
downloadvyos-1x-972e52ff308e0cecef5f6a37ee57acb8c18913fe.tar.gz
vyos-1x-972e52ff308e0cecef5f6a37ee57acb8c18913fe.zip
Merge pull request #1711 from roedie/T4884
T4884: snmpd: add community6 fallback
Diffstat (limited to 'data')
-rw-r--r--data/templates/snmp/etc.snmpd.conf.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/snmp/etc.snmpd.conf.j2 b/data/templates/snmp/etc.snmpd.conf.j2
index 57ad704c0..47bf6878f 100644
--- a/data/templates/snmp/etc.snmpd.conf.j2
+++ b/data/templates/snmp/etc.snmpd.conf.j2
@@ -76,6 +76,7 @@ agentaddress unix:/run/snmpd.socket{{ ',' ~ options | join(',') if options is vy
{% endif %}
{% if comm_config.client is not vyos_defined and comm_config.network is not vyos_defined %}
{{ comm_config.authorization }}community {{ comm }}
+{{ comm_config.authorization }}community6 {{ comm }}
{% endif %}
{% endfor %}
{% endif %}