dhcpleasequery problems - 4.2.2

Bruce Hudson Bruce.Hudson at Dal.Ca
Tue Oct 18 17:55:05 UTC 2011


 
> 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



More information about the dhcp-users mailing list