summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicolas Vandamme <n.vandamme@firis-system.lu>2025-09-01 17:28:15 +0200
committerNicolas Vandamme <n.vandamme@firis-system.lu>2025-09-01 17:28:15 +0200
commit0a0593d1c6f2db2661a4b99dc634da1ceaef5c23 (patch)
tree57e55183a3602d60deaec613c715585334af8b88 /src
parent57b66fe60218bbaa2550350239fa71b0030213cb (diff)
parenta791cc3b7bb28081a6e79a988964f1fc51a47dae (diff)
downloadvyos-1x-0a0593d1c6f2db2661a4b99dc634da1ceaef5c23.tar.gz
vyos-1x-0a0593d1c6f2db2661a4b99dc634da1ceaef5c23.zip
Merge branch 'current' of https://github.com/nvandamme/vyos-1x into current
Diffstat (limited to 'src')
-rwxr-xr-xsrc/op_mode/dhcp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/op_mode/dhcp.py b/src/op_mode/dhcp.py
index f4bb9a090..03ad3268f 100755
--- a/src/op_mode/dhcp.py
+++ b/src/op_mode/dhcp.py
@@ -147,6 +147,7 @@ def _get_formatted_server_leases(raw_data, family='inet'):
remain = lease.get('remaining')
lease_type = lease.get('type')
pool = lease.get('pool')
+ hostname = lease.get('hostname')
host_identifier = lease.get('duid')
data_entries.append(
[ipaddr, hw_addr, state, start, end, remain, pool, hostname, lease_type, host_identifier]