mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-01 14:55:30 +00:00
declare default and max lease times
This commit is contained in:
@@ -45,6 +45,9 @@
|
|||||||
void do_a_packet (int);
|
void do_a_packet (int);
|
||||||
void do_a_line (int);
|
void do_a_line (int);
|
||||||
|
|
||||||
|
TIME default_lease_time = 43200; /* 12 hours... */
|
||||||
|
TIME max_lease_time = 86400; /* 24 hours... */
|
||||||
|
|
||||||
TIME cur_time;
|
TIME cur_time;
|
||||||
unsigned char packbuf [65536]; /* Should cover the gnarliest MTU... */
|
unsigned char packbuf [65536]; /* Should cover the gnarliest MTU... */
|
||||||
|
|
||||||
|
@@ -45,6 +45,9 @@
|
|||||||
void do_a_packet (int);
|
void do_a_packet (int);
|
||||||
void do_a_line (int);
|
void do_a_line (int);
|
||||||
|
|
||||||
|
TIME default_lease_time = 43200; /* 12 hours... */
|
||||||
|
TIME max_lease_time = 86400; /* 24 hours... */
|
||||||
|
|
||||||
TIME cur_time;
|
TIME cur_time;
|
||||||
unsigned char packbuf [65536]; /* Should cover the gnarliest MTU... */
|
unsigned char packbuf [65536]; /* Should cover the gnarliest MTU... */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user