[snmp] snmpd ipv6 supports multiple community strings (#3523)

This commit is contained in:
Qi Luo 2019-09-26 18:23:12 -07:00 committed by GitHub
parent 504cf62bfc
commit 8c4678718e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,7 @@ view systemonly included .1.3.6.1.2.1.25.1
{% if snmp_rocommunities %}
{% for community in snmp_rocommunities %}
rocommunity {{ community }}
rocommunity6 {{ community }}
{% endfor %}
{% else %}
rocommunity {{ snmp_rocommunity }}