dhcpleasequery problems - 4.2.2

Jack Kielsmeier jackkiel at netins.net
Tue Oct 18 18:09:55 UTC 2011


Oh, silly newb mistake by me!

I have corrected the comment lines and am recompiling now. Will report back
after we get done testing leasequeries.

Thanks,
-
Jack Kielsmeier
netINS Systems Administrator
systems at netins.net


-----Original Message-----
From: dhcp-users-bounces+jackkiel=netins.net at lists.isc.org
[mailto:dhcp-users-bounces+jackkiel=netins.net at lists.isc.org] On Behalf Of
Bruce Hudson
Sent: Tuesday, October 18, 2011 12:55 PM
To: dhcp-users at lists.isc.org
Subject: Re: dhcpleasequery problems - 4.2.2

 
> I get an error when re-compiling the source. I have the following 
> commented out:
> 
>                 if (lease->ends > cur_time) {
> /*                      if (time_expiry < cur_time) {
>  *                              log_error("Impossible condition at
%s:%d.",
>  *                                        MDL);
>  *
>  *                              option_state_dereference(&options, MDL);
>  *                              lease_dereference(&lease, MDL);
>  *                              return;
>  */                     }
>                         time_expiry = htonl(lease->ends - cur_time);

    Your commenting as shown does not exclude the "}" on line 497 since you
end the comment block at the start of the line.
--
Bruce A. Hudson				| Bruce.Hudson at Dal.CA
ITS, Networks and Systems		|
Dalhousie University			|
Halifax, Nova Scotia, Canada		| (902) 494-3405
_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users






More information about the dhcp-users mailing list