summaryrefslogtreecommitdiff
path: root/data/templates/snmp/etc.snmp.conf.j2
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-01 18:59:29 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-01 18:59:29 +0200
commit5ffbd74baee4c3e987fe1875c2c73a1fe7afdbe1 (patch)
tree487a888494283f09b39c47763e600533fd5b49a4 /data/templates/snmp/etc.snmp.conf.j2
parentf0a13824f39f9da95c77234ad000ce66c3c3b04e (diff)
downloadvyos-1x-5ffbd74baee4c3e987fe1875c2c73a1fe7afdbe1.tar.gz
vyos-1x-5ffbd74baee4c3e987fe1875c2c73a1fe7afdbe1.zip
snmp: T4353: fix Jinja2 linting errors
Diffstat (limited to 'data/templates/snmp/etc.snmp.conf.j2')
-rw-r--r--data/templates/snmp/etc.snmp.conf.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/snmp/etc.snmp.conf.j2 b/data/templates/snmp/etc.snmp.conf.j2
new file mode 100644
index 000000000..8012cf6bb
--- /dev/null
+++ b/data/templates/snmp/etc.snmp.conf.j2
@@ -0,0 +1,4 @@
+### Autogenerated by snmp.py ###
+{% if trap_source is vyos_defined %}
+clientaddr {{ trap_source }}
+{% endif %}