Undefine The Failover Protocol and DHCP Daemon can not Build successfully

David W. Hankins David_Hankins at isc.org
Tue May 2 18:01:08 UTC 2006


On Tue, May 02, 2006 at 10:14:27AM +0800, Lin Shu-ping wrote:
>     I have undefine the failover protocol in site.h and the DHCP daemon can 
> not built successfully with some error messages.

Out of curiosity, why do you want failover compiled-out?

> if (shutdown_state == shutdown_dhcp &&
>     !failover_connection_count) {
>     shutdown_state = shutdown_done;
>     shutdown_time = cur_time;
>     goto oncemore;
> }
> 
> The failover_connection_count checking should be include in 
> FIALOVER_PROTOCOL define, but I do not know if there is any side-effect 
> doing this.
> 
> Does anyone have suggestions or ideas?

You can put the && !failover_etc into a #define safely I think.

Looks like a bug, but I don't think we'll be able to address this in
3.0.4.

Send a note to dhcp-bugs at isc.org to remind me.

-- 
David W. Hankins		"If you don't do it right the first time,
Software Engineer			you'll just have to do it again."
Internet Systems Consortium, Inc.		-- Jack T. Hankins


More information about the dhcp-hackers mailing list