2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

- Expose failover_state enum.

- Have place in lease for failover params even if FAILOVER_PROTOCOL is not
  defined.
This commit is contained in:
Ted Lemon
2000-01-05 18:41:58 +00:00
parent 438f5f95e6
commit de1863a1c4

View File

@@ -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 {