suggestion to improve dhcpd behavior regarding
Fons de Jongh
fdjongh at novell.com
Mon Apr 28 07:29:33 UTC 2008
Hi Alexander,
Thank you for your idea! I agree your change is better, since it keeps behavior of dhcpd compatible to DHCP clients that request a longer IP Address Lease Time in case the default-lease-time is set lower than 86400 seconds (DEFAULT_MAX_LEASE_TIME).
Thanks and kind regards,
Fons
>>> Alexander Clouter <ac56 at soas.ac.uk> 4/25/2008 4:13 PM >>>
Hi,
Alexander Clouter <ac56 at soas.ac.uk> [20080425 15:00:22 +0100]:
>
> A better change would be (el pseudo code):
>
> max_lease_time = ( default_lease_time > max_lease_time )
> : default_lease_time
> ? DEFAULT_MAX_LEASE_TIME
>
Of course I meant:
max_lease_time = ( default_lease_time > DEFAULT_MAX_LEASE_TIME )
? default_lease_time
: DEFAULT_MAX_LEASE_TIME
Cheers
Alex
More information about the dhcp-hackers
mailing list