From 7488bbad3118596c1eaef9e0acb9819b039ea6bf Mon Sep 17 00:00:00 2001 From: jules-vyos Date: Thu, 5 Jul 2018 14:37:53 +0100 Subject: T733: snmp.py: set IPv6 community string * Fixed snmp.py to correctly supply 'community6' community strings, so that ipv6 will work. --- src/conf_mode/snmp.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 }} -- cgit v1.2.3