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:
parent
ef216c04e1
commit
b13a7faa31
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user