]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Expose failover_state enum even if FAILOVER not defined.
authorTed Lemon <source@isc.org>
Wed, 6 Oct 1999 22:41:31 +0000 (22:41 +0000)
committerTed Lemon <source@isc.org>
Wed, 6 Oct 1999 22:41:31 +0000 (22:41 +0000)
includes/dhcpd.h

index 49bbf3b4c3c62f27f77b36694f8fe7597dbb5ec0..8992c97d5fcb4e3c6e71b3006abf94d04f06e6ba 100644 (file)
@@ -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. */