mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-05 00:35:41 +00:00
Rework DHCP lease state handling to be compatible with failover protocol.
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
|
||||
#ifndef lint
|
||||
static char copyright[] =
|
||||
"$Id: stables.c,v 1.12 2000/05/16 23:03:49 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
|
||||
"$Id: stables.c,v 1.13 2000/06/02 21:27:21 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
|
||||
#endif /* not lint */
|
||||
|
||||
#include "dhcpd.h"
|
||||
@@ -176,6 +176,12 @@ const char *dhcp_flink_state_names [] = {
|
||||
};
|
||||
#endif /* FAILOVER_PROTOCOL */
|
||||
|
||||
/* Failover binding state names. These are used even if there is no
|
||||
failover protocol support. */
|
||||
const char *binding_state_names [] = {
|
||||
"free", "active", "expired", "released", "abandoned",
|
||||
"reset", "backup", "reserved", "bootp" };
|
||||
|
||||
struct universe agent_universe;
|
||||
struct option agent_options [256] = {
|
||||
{ "pad", "", &agent_universe, 0 },
|
||||
|
Reference in New Issue
Block a user