summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1996-05-17 23:18:54 +0000
committerTed Lemon <source@isc.org>1996-05-17 23:18:54 +0000
commit4a0d788a262d957a8b564cb747ac4b11ada250b7 (patch)
treee7a0ceb59f23b653915102f5dcb55911730e161d
parent9375101b4aafced31b0be0a4ede072c6dd72972d (diff)
downloadisc-dhcp-4a0d788a262d957a8b564cb747ac4b11ada250b7.tar.gz
declare default and max lease times
-rw-r--r--client/dhclient.c3
-rw-r--r--dhclient.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/client/dhclient.c b/client/dhclient.c
index 1c322376..a0991928 100644
--- a/client/dhclient.c
+++ b/client/dhclient.c
@@ -45,6 +45,9 @@
void do_a_packet (int);
void do_a_line (int);
+TIME default_lease_time = 43200; /* 12 hours... */
+TIME max_lease_time = 86400; /* 24 hours... */
+
TIME cur_time;
unsigned char packbuf [65536]; /* Should cover the gnarliest MTU... */
diff --git a/dhclient.c b/dhclient.c
index 1c322376..a0991928 100644
--- a/dhclient.c
+++ b/dhclient.c
@@ -45,6 +45,9 @@
void do_a_packet (int);
void do_a_line (int);
+TIME default_lease_time = 43200; /* 12 hours... */
+TIME max_lease_time = 86400; /* 24 hours... */
+
TIME cur_time;
unsigned char packbuf [65536]; /* Should cover the gnarliest MTU... */