mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-29 21:38:10 +00:00
Expose failover_state enum even if FAILOVER not defined.
This commit is contained in:
parent
ef216c04e1
commit
b13a7faa31
@ -453,7 +453,6 @@ struct pool {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* A failover peer. */
|
/* A failover peer. */
|
||||||
#if defined (FAILOVER_PROTOCOL)
|
|
||||||
enum failover_state {
|
enum failover_state {
|
||||||
invalid_state,
|
invalid_state,
|
||||||
partner_down,
|
partner_down,
|
||||||
@ -463,6 +462,7 @@ enum failover_state {
|
|||||||
recover
|
recover
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if defined (FAILOVER_PROTOCOL)
|
||||||
struct failover_peer {
|
struct failover_peer {
|
||||||
char *name; /* Name of this failover instance. */
|
char *name; /* Name of this failover instance. */
|
||||||
struct expression *address; /* Partner's IP address or hostname. */
|
struct expression *address; /* Partner's IP address or hostname. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user