From b13a7faa319795c6aa1d69675021909fb94233cc Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Wed, 6 Oct 1999 22:41:31 +0000 Subject: [PATCH] Expose failover_state enum even if FAILOVER not defined. --- includes/dhcpd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/dhcpd.h b/includes/dhcpd.h index 49bbf3b4..8992c97d 100644 --- a/includes/dhcpd.h +++ b/includes/dhcpd.h @@ -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. */