Adaptive lease time patch

Christof Chen christof at chen.de
Sat Sep 10 00:09:26 UTC 2005


On Saturday 10 September 2005 01:38, Ted Lemon wrote:
> You just identify the local machines by their network MAC address.

Sounds fun. There are about 12.000 offices in this particular network.  I 
would rather have DHCPD keep track of MAC addresses than me... :-)

> I would suggest that in your if statement you make sure that lease-
>pool is not null - I think in the case of a static lease it would
>
> be, and while you probably don't have any static leases now, you
> don't want dhcpd to dump core when someone hacks the configuration
> later.   :')

Thanks! I couldn't think of why lease->pool should ever be null when i have a 
lease... But thats explains it.

Again, thanks for your help.


More information about the dhcp-hackers mailing list