summaryrefslogtreecommitdiff
path: root/src/conf-mode/vyos-config-lldp.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-05-12 20:43:10 +0200
committerChristian Poessinger <christian@poessinger.com>2018-05-12 20:43:10 +0200
commit53e0b1f060c3403ec29658a566d370d12cf7f22f (patch)
treef3559026db30bcdaf5341bf743b4a259568b08f7 /src/conf-mode/vyos-config-lldp.py
parentacd2822890afa32ded51e2120f6c176916a06f35 (diff)
downloadvyos-1x-53e0b1f060c3403ec29658a566d370d12cf7f22f.tar.gz
vyos-1x-53e0b1f060c3403ec29658a566d370d12cf7f22f.zip
T560: bugfix access to NoneType object
Commit f1bbc20716 ("Add jinja2 and ipaddrcheck to dependencies.") introduced access to a NoneType object when the service was removed. This happened after: $ delete service dns forwarding $ commit File "/opt/vyatta/sbin/vyos-config-dns-forwarding.py", line 201, in <module> verify(c) File "/opt/vyatta/sbin/vyos-config-dns-forwarding.py", line 164, in verify if not dns['interfaces']: TypeError: 'NoneType' object is not subscriptable
Diffstat (limited to 'src/conf-mode/vyos-config-lldp.py')
0 files changed, 0 insertions, 0 deletions