[Toybox] add dumpleases

Rob Landley rob at landley.net
Thu Aug 15 05:40:01 PDT 2013


On 08/13/2013 11:26:50 PM, Isaac wrote:
> On Wed, Aug 14, 2013 at 12:37:18PM +0900, Ashwini Sharma wrote:
> > Hi Rob,
> >
> > Attached is the patch for dumpleases.
> >
> > Utility to dump all the lease details onto STDOUT in a human  
> readable
> > format.
> > This completes the package for DHCP client and server.
> 
> I note that in a pedantic sense, there's more to do: default.script
> needs to call either (ifconfig and route) or ((ip addr) and (ip  
> route)).
> This means sometime route needs to be written.

A system with ifconfig needs route, yes.

> But thanks for writing the DHCP software.
> 
> > Have a look at the same and add to the tree, if found good and  
> suitable.
> 
> I'm not an expert, but it seems good to me after a one-minute scan...

I'm pondering having it be an OLDTOY() in the same file as dhcpd.c, but  
I need to look at it again when I'm more awake. (Was up all night  
working on something else, sun coming up...)

Rob
 1376570401.0


More information about the Toybox mailing list