From: Ted Lemon Date: Wed, 6 Oct 1999 22:41:31 +0000 (+0000) Subject: Expose failover_state enum even if FAILOVER not defined. X-Git-Tag: BCTEL_SPECIAL_19991124~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b13a7faa319795c6aa1d69675021909fb94233cc;p=thirdparty%2Fdhcp.git Expose failover_state enum even if FAILOVER not defined. --- diff --git a/includes/dhcpd.h b/includes/dhcpd.h index 49bbf3b4c..8992c97d5 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. */