diff options
| author | Nicolas Vandamme <n.vandamme@firis-system.lu> | 2025-09-11 15:34:10 +0200 |
|---|---|---|
| committer | Nicolas Vandamme <n.vandamme@firis-system.lu> | 2025-09-11 15:34:10 +0200 |
| commit | 793c6a1ee7f9ae0bd335cd04ee5e153219bbc5e0 (patch) | |
| tree | ddd93124c7b1153e7f3844fe24ae9515a10d22a6 /python | |
| parent | 0a0593d1c6f2db2661a4b99dc634da1ceaef5c23 (diff) | |
| download | vyos-1x-793c6a1ee7f9ae0bd335cd04ee5e153219bbc5e0.tar.gz vyos-1x-793c6a1ee7f9ae0bd335cd04ee5e153219bbc5e0.zip | |
op-mode: T5992: show dhcpv6 leases with (mostly) the same fields and order
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 d3cf671ec..c7ae94b14 100644 --- a/python/vyos/kea.py +++ b/python/vyos/kea.py @@ -624,7 +624,7 @@ 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'] + data_lease['mac'] = lease.get('hw-address', '-') if inet == '4': data_lease['start'] = lease['start_time'].timestamp() |
