summaryrefslogtreecommitdiff
path: root/data/templates/snmp/etc.snmp.conf.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/snmp/etc.snmp.conf.tmpl')
-rw-r--r--data/templates/snmp/etc.snmp.conf.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/snmp/etc.snmp.conf.tmpl b/data/templates/snmp/etc.snmp.conf.tmpl
index 6e4c6f063..f7d9a3c17 100644
--- a/data/templates/snmp/etc.snmp.conf.tmpl
+++ b/data/templates/snmp/etc.snmp.conf.tmpl
@@ -1,4 +1,4 @@
### Autogenerated by snmp.py ###
-{% if trap_source %}
+{% if trap_source is defined and trap_source is not none %}
clientaddr {{ trap_source }}
{% endif %}