Commit b13a7faa authored by Ted Lemon's avatar Ted Lemon

Expose failover_state enum even if FAILOVER not defined.

parent ef216c04
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment