diff options
author | Christian Breunig <christian@breunig.cc> | 2023-02-10 19:45:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-10 19:45:52 +0100 |
commit | 847434e1e34ea66c41a0c77ff22321452fbe5f7b (patch) | |
tree | 048ae0c57eb8eb18adf03687358119795415b4b8 /data | |
parent | abb45b2dac6d21899b47f792f887c42e757f0a2f (diff) | |
parent | 011e6a2cdea8fca73f7c433de5e2d6bc22bd9c19 (diff) | |
download | vyos-1x-847434e1e34ea66c41a0c77ff22321452fbe5f7b.tar.gz vyos-1x-847434e1e34ea66c41a0c77ff22321452fbe5f7b.zip |
Merge pull request #1805 from nicolas-fort/T4857-frr-fix
T4857: snmp: Fix error when not defining client|network under community
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/snmp/etc.snmpd.conf.j2 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/data/templates/snmp/etc.snmpd.conf.j2 b/data/templates/snmp/etc.snmpd.conf.j2 index 793facc3f..9d78d479a 100644 --- a/data/templates/snmp/etc.snmpd.conf.j2 +++ b/data/templates/snmp/etc.snmpd.conf.j2 @@ -77,10 +77,6 @@ agentaddress unix:/run/snmpd.socket{{ ',' ~ options | join(',') if options is vy {% endif %} {% endfor %} {% endif %} -{% if comm_config.client is not vyos_defined and comm_config.network is not vyos_defined %} -{{ comm_config.authorization }}community {{ comm }} -V RESTRICTED -{{ comm_config.authorization }}community6 {{ comm }} -V RESTRICTED -{% endif %} {% endfor %} {% endif %} |