diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-12-30 21:37:44 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-12-30 21:38:16 +0100 |
commit | 566f7f2401b79a79abe5ed9597fed325540983fa (patch) | |
tree | f6347336c27e8a890286ca473bf7a0c829f8a999 /data/templates/snmp/etc.snmp.conf.tmpl | |
parent | 8d99fe401731c55ee6058d617101fcdaf1b2c47a (diff) | |
download | vyos-1x-566f7f2401b79a79abe5ed9597fed325540983fa.tar.gz vyos-1x-566f7f2401b79a79abe5ed9597fed325540983fa.zip |
snmp: T4124: migrate to get_config_dict()
Diffstat (limited to 'data/templates/snmp/etc.snmp.conf.tmpl')
-rw-r--r-- | data/templates/snmp/etc.snmp.conf.tmpl | 2 |
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 %} |