mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
Implement pool request and response so that secondary can operate.
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
|
||||
#ifndef lint
|
||||
static char copyright[] =
|
||||
"$Id: confpars.c,v 1.108 2000/05/03 06:19:29 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
|
||||
"$Id: confpars.c,v 1.109 2000/05/04 18:58:11 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
|
||||
#endif /* not lint */
|
||||
|
||||
#include "dhcpd.h"
|
||||
@@ -2140,6 +2140,7 @@ struct lease *parse_lease_declaration (cfile)
|
||||
case TIMESTAMP:
|
||||
case TSTP:
|
||||
case TSFP:
|
||||
case CLTT:
|
||||
t = parse_date (cfile);
|
||||
switch (token) {
|
||||
case STARTS:
|
||||
@@ -2167,6 +2168,11 @@ struct lease *parse_lease_declaration (cfile)
|
||||
lease.tsfp = t;
|
||||
break;
|
||||
|
||||
case CLTT:
|
||||
seenbit = 524288;
|
||||
lease.cltt = t;
|
||||
break;
|
||||
|
||||
default: /* for gcc, we'll never get here. */
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user