diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-06-16 02:02:25 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-06-16 02:02:25 +0200 |
commit | 3b9bfe322fd4a7d652b25b28cbcd4825fee0ea4b (patch) | |
tree | 51fa0b62092c1f077fb67a580c7726b1ee5e7764 /src/migration-scripts/ntp/0-to-1 | |
parent | 163905e7e8977ae82c4a93c992b8f21f91144918 (diff) | |
download | vyos-1x-3b9bfe322fd4a7d652b25b28cbcd4825fee0ea4b.tar.gz vyos-1x-3b9bfe322fd4a7d652b25b28cbcd4825fee0ea4b.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'
Diffstat (limited to 'src/migration-scripts/ntp/0-to-1')
0 files changed, 0 insertions, 0 deletions