diff options
author | Sander Klein <github@roedie.nl> | 2022-12-16 21:58:06 +0100 |
---|---|---|
committer | Sander Klein <github@roedie.nl> | 2022-12-16 21:58:06 +0100 |
commit | 03d49fe0fc5020b851bd639a2cb94f911f48cbea (patch) | |
tree | 5e5eef3b26a714ba9729f694782bdabf516cbe43 /data | |
parent | 28c7960b6cc9bb05fafb0f2b8659b169b13c0071 (diff) | |
download | vyos-1x-03d49fe0fc5020b851bd639a2cb94f911f48cbea.tar.gz vyos-1x-03d49fe0fc5020b851bd639a2cb94f911f48cbea.zip |
T4884: snmpd: add community6 fallback
If no client and network is defined only a `community` config
is created. This also adds the `community6` part
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/snmp/etc.snmpd.conf.j2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/snmp/etc.snmpd.conf.j2 b/data/templates/snmp/etc.snmpd.conf.j2 index 57ad704c0..47bf6878f 100644 --- a/data/templates/snmp/etc.snmpd.conf.j2 +++ b/data/templates/snmp/etc.snmpd.conf.j2 @@ -76,6 +76,7 @@ agentaddress unix:/run/snmpd.socket{{ ',' ~ options | join(',') if options is vy {% endif %} {% if comm_config.client is not vyos_defined and comm_config.network is not vyos_defined %} {{ comm_config.authorization }}community {{ comm }} +{{ comm_config.authorization }}community6 {{ comm }} {% endif %} {% endfor %} {% endif %} |