On Thu, Aug 18, 2022 at 07:29:42PM +0000, Klemens Nanni wrote: > There is dhcpleasectl(8) -l but that only works for currently > configured leases/interfaces and does not print all information > contained in the lease file (mostly tailored to fit the installer's > needs). > > Feedback? OK? >
hi. - in general i like this. i didn;t know about it, and am currently having to run dhcpleasectl to get the info (and generating a temp file so a script can read it!) - when you say dhcpleasectl only works "for currently configured leases/interfaces" how does this differ? you mean it shows you the last lease, even if one is not currently in use? - i prefer the wording "Interface specific lease files." but that's just a suggestion. jmc > Index: dhcpleased.8 > =================================================================== > RCS file: /cvs/src/sbin/dhcpleased/dhcpleased.8,v > retrieving revision 1.4 > diff -u -p -r1.4 dhcpleased.8 > --- dhcpleased.8 23 Aug 2021 18:09:05 -0000 1.4 > +++ dhcpleased.8 18 Aug 2022 19:24:20 -0000 > @@ -72,7 +72,7 @@ Multiple > options increase the verbosity. > .El > .Sh FILES > -.Bl -tag -width "/dev/dhcpleased.sockXX" -compact > +.Bl -tag -width "/var/db/dhcpleased/<if>" -compact > .It Pa /dev/dhcpleased.sock > .Ux Ns -domain > socket used for communication with > @@ -81,6 +81,8 @@ socket used for communication with > Default > .Nm > configuration file. > +.It Pa /var/db/dhcpleased/ Ns Aq Ar if > +Lease files per interface. > .El > .Sh SEE ALSO > .Xr dhcpleased.conf 5 , >
