summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-06-16 02:02:25 +0200
committerChristian Poessinger <christian@poessinger.com>2019-06-22 18:50:23 +0200
commit44c5fe76136a9a782b6536f80d9b30b10606a92a (patch)
tree7743f8846ff43b9686cb2ccd41b040c4430e86df /python
parent1160c2e55782c51d9f4fc4cd93b8b293880bc8c2 (diff)
downloadvyos-1x-44c5fe76136a9a782b6536f80d9b30b10606a92a.tar.gz
vyos-1x-44c5fe76136a9a782b6536f80d9b30b10606a92a.zip
DHCPDv6 T1433: fix wrong lease file name
A wrong lease file caused the show command to fail: vyos@vyos:~$ show dhcpv6 server leases Traceback (most recent call last): File "/usr/libexec/vyos/op_mode/show_dhcpv6.py", line 81, in <module> leases = get_leases(lease_file, state='active') File "/usr/libexec/vyos/op_mode/show_dhcpv6.py", line 44, in get_leases leases = IscDhcpLeases(lease_file).get() File "/usr/lib/python3/dist-packages/isc_dhcp_leases/iscdhcpleases.py", line 110, in get with open(self.filename) as lease_file: FileNotFoundError: [Errno 2] No such file or directory: '/config/dhcpdv6.leases' (cherry picked from commit 3b9bfe322fd4a7d652b25b28cbcd4825fee0ea4b)
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions