2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

Expose failover_state enum even if FAILOVER not defined.

This commit is contained in:
Ted Lemon 1999-10-06 22:41:31 +00:00
parent ef216c04e1
commit b13a7faa31

View File

@ -453,7 +453,6 @@ struct pool {
};
/* A failover peer. */
#if defined (FAILOVER_PROTOCOL)
enum failover_state {
invalid_state,
partner_down,
@ -463,6 +462,7 @@ enum failover_state {
recover
};
#if defined (FAILOVER_PROTOCOL)
struct failover_peer {
char *name; /* Name of this failover instance. */
struct expression *address; /* Partner's IP address or hostname. */