diff options
| author | Nicolas Vandamme <n.vandamme@firis-system.lu> | 2025-09-01 17:22:35 +0200 |
|---|---|---|
| committer | Nicolas Vandamme <n.vandamme@firis-system.lu> | 2025-09-01 17:22:35 +0200 |
| commit | 57b66fe60218bbaa2550350239fa71b0030213cb (patch) | |
| tree | 6e97481c634cd4b916b259e1ba6c394e89b792bf /python | |
| parent | b1b4545cb7984cd3cdf42554ab2b28acd1ecb6cb (diff) | |
| download | vyos-1x-57b66fe60218bbaa2550350239fa71b0030213cb.tar.gz vyos-1x-57b66fe60218bbaa2550350239fa71b0030213cb.zip | |
op-mode: T5992: show dhcpv6 leases with (mostly) the same fields as dhcp leases
Diffstat (limited to 'python')
| -rw-r--r-- | python/vyos/kea.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/kea.py b/python/vyos/kea.py index a47371e88..d3cf671ec 100644 --- a/python/vyos/kea.py +++ b/python/vyos/kea.py @@ -624,9 +624,9 @@ def kea_get_server_leases(config, inet, vrf_name, pools=[], state=[], origin=Non data_lease['origin'] = 'local' # TODO: Determine remote in HA # remove trailing dot in 'hostname' to ensure consistency for `vyos-hostsd-client` data_lease['hostname'] = lease.get('hostname', '').rstrip('.') or '-' + data_lease['mac'] = lease['hw-address'] if inet == '4': - data_lease['mac'] = lease['hw-address'] data_lease['start'] = lease['start_time'].timestamp() if inet == '6': |
