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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user