diff options
author | khramshinr <khramshinr@gmail.com> | 2024-03-21 14:00:50 +0800 |
---|---|---|
committer | khramshinr <khramshinr@gmail.com> | 2024-03-21 14:00:50 +0800 |
commit | e58af658d31ceb21ffa073badaeeecb099ce5d75 (patch) | |
tree | da8090f30ed42f9458dfefcc74b249392ac028bb /src | |
parent | f7a005ebecdfabc0a0af75ed9ad84b44ef1d6d5b (diff) | |
download | vyos-1x-e58af658d31ceb21ffa073badaeeecb099ce5d75.tar.gz vyos-1x-e58af658d31ceb21ffa073badaeeecb099ce5d75.zip |
dhcp: T5164: op cmd: "show dhcp server leases state" with available options does not show any result
Diffstat (limited to 'src')
-rwxr-xr-x | src/op_mode/dhcp.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/op_mode/dhcp.py b/src/op_mode/dhcp.py index d6b8aa0b8..b1fa6b918 100755 --- a/src/op_mode/dhcp.py +++ b/src/op_mode/dhcp.py @@ -79,8 +79,7 @@ def _get_raw_server_leases(family='inet', pool=None, sorted=None, state=[], orig """ lease_file = '/config/dhcpdv6.leases' if family == 'inet6' else '/config/dhcpd.leases' data = [] - leases = IscDhcpLeases(lease_file).get() - + leases = IscDhcpLeases(lease_file).get(include_backups=True) if pool is None: pool = _get_dhcp_pools(family=family) aux = False |