From: Ted Lemon Date: Wed, 5 Jan 2000 18:41:58 +0000 (+0000) Subject: - Expose failover_state enum. X-Git-Tag: V3-BETA-2-PATCH-1~457 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de1863a1c4f1286bc7ab8cfb2f80a865a0eb3831;p=thirdparty%2Fdhcp.git - Expose failover_state enum. - Have place in lease for failover params even if FAILOVER_PROTOCOL is not defined. --- diff --git a/includes/dhcpd.h b/includes/dhcpd.h index 388a08d34..ef274967d 100644 --- a/includes/dhcpd.h +++ b/includes/dhcpd.h @@ -73,9 +73,7 @@ typedef struct { u_int8_t *data; } ddns_fqdn_t; -#if defined (FAILOVER_PROTOCOL) -# include "failover.h" -#endif +#include "failover.h" /* A parsing context. */ @@ -250,11 +248,9 @@ struct lease { struct lease_state *state; -#if defined (FAILOVER_PROTOCOL) TIME tstp; /* Time sent to partner. */ TIME tsfp; /* Time sent from partner. */ TIME cltt; /* Client last transaction time. */ -#endif }; struct lease_state {