Open dirkvdplas opened 3 years ago
Can you improve the wording a bit? What is your expected outcome? As far as I can see get_current()
in your example (and in the code) is only returning one active & valid lease for each MAC.
Sorry for not being clear. Bases on output of get_current you would think that lease / binding_state is active , which is not true.
The output of leases.get() shows that binding_state is false.
Regards, Dirk
entrys in dhdpd.leases.txt Hello,
I assume get_current() shows only active leases. This is not correct:
# overview of all leases for 10.31.222.207
overview of current leases for 10.31.222.207
` As you can see with leases.get() the most recent lease is not active anymore, so my conclusion is that get_current provided wrong info. See alzo attached dhdpd.leases file