diff options
author | jules-vyos <vyos@ourhouse.org.uk> | 2018-07-05 14:37:53 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-07-05 15:37:53 +0200 |
commit | 7488bbad3118596c1eaef9e0acb9819b039ea6bf (patch) | |
tree | 83534657d202a344f0b011bf8c47a8eb9f7c9924 /src | |
parent | a76f517ef9d2c7f10f5df936d61a34783c9b0d4c (diff) | |
download | vyos-1x-7488bbad3118596c1eaef9e0acb9819b039ea6bf.tar.gz vyos-1x-7488bbad3118596c1eaef9e0acb9819b039ea6bf.zip |
T733: snmp.py: set IPv6 community string
* Fixed snmp.py to correctly supply 'community6' community strings, so that ipv6 will work.
Diffstat (limited to 'src')
-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 1ef69ceb2..001e6c6b4 100755 --- a/src/conf_mode/snmp.py +++ b/src/conf_mode/snmp.py @@ -144,6 +144,7 @@ agentaddress unix:/run/snmpd.socket{% if listen_on %}{% for li in listen_on %},{ {% if c.network -%} {% for network in c.network %} {{ c.authorization }}community {{ c.name }} {{ network }} +{{ c.authorization }}community6 {{ c.name }} {{ network }} {% endfor %} {% else %} {{ c.authorization }}community {{ c.name }} |