diff options
author | Ted Lemon <source@isc.org> | 1996-05-17 23:18:54 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1996-05-17 23:18:54 +0000 |
commit | 4a0d788a262d957a8b564cb747ac4b11ada250b7 (patch) | |
tree | e7a0ceb59f23b653915102f5dcb55911730e161d | |
parent | 9375101b4aafced31b0be0a4ede072c6dd72972d (diff) | |
download | isc-dhcp-4a0d788a262d957a8b564cb747ac4b11ada250b7.tar.gz |
declare default and max lease times
-rw-r--r-- | client/dhclient.c | 3 | ||||
-rw-r--r-- | dhclient.c | 3 |
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... */ @@ -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... */ |