summaryrefslogtreecommitdiff
path: root/src/conf_mode/snmp.py
diff options
context:
space:
mode:
authorJules Taplin <vyos@ourhouse.org.uk>2018-08-07 12:41:05 +0100
committerJules Taplin <vyos@ourhouse.org.uk>2018-08-07 12:41:05 +0100
commitce4e32f48976898b4995e8cd08ec5d1c81699633 (patch)
tree436285ae90d8c24073d7a890027c7df556b639bf /src/conf_mode/snmp.py
parent47f4faf7987f122861bfeb451871ac268b6ecbb4 (diff)
downloadvyos-1x-ce4e32f48976898b4995e8cd08ec5d1c81699633.tar.gz
vyos-1x-ce4e32f48976898b4995e8cd08ec5d1c81699633.zip
T733: snmp.py: set IPv6 community string
Also fixed it to correctly set an IPv6 community string, even if you don't specify the network it's working on.
Diffstat (limited to 'src/conf_mode/snmp.py')
-rwxr-xr-xsrc/conf_mode/snmp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf_mode/snmp.py b/src/conf_mode/snmp.py
index 001e6c6b4..3b47ffc98 100755
--- a/src/conf_mode/snmp.py
+++ b/src/conf_mode/snmp.py
@@ -148,6 +148,7 @@ agentaddress unix:/run/snmpd.socket{% if listen_on %}{% for li in listen_on %},{
{% endfor %}
{% else %}
{{ c.authorization }}community {{ c.name }}
+{{ c.authorization }}community6 {{ c.name }}
{% endif %}
{% endfor %}
{% endif %}