diff options
author | Jules Taplin <vyos@ourhouse.org.uk> | 2018-08-07 12:41:05 +0100 |
---|---|---|
committer | Jules Taplin <vyos@ourhouse.org.uk> | 2018-08-07 12:41:05 +0100 |
commit | ce4e32f48976898b4995e8cd08ec5d1c81699633 (patch) | |
tree | 436285ae90d8c24073d7a890027c7df556b639bf /src/conf_mode/snmp.py | |
parent | 47f4faf7987f122861bfeb451871ac268b6ecbb4 (diff) | |
download | vyos-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-x | src/conf_mode/snmp.py | 1 |
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 %} |