Blame dhcp-4.2.0-64_bit_lease_parse.patch
|
|
5a3797e |
diff -up dhcp-4.2.0/common/parse.c.64-bit_lease_parse dhcp-4.2.0/common/parse.c
|
|
|
5a3797e |
--- dhcp-4.2.0/common/parse.c.64-bit_lease_parse 2009-10-28 05:12:29.000000000 +0100
|
|
|
5a3797e |
+++ dhcp-4.2.0/common/parse.c 2010-07-21 16:11:36.000000000 +0200
|
|
|
f14159f |
@@ -905,8 +905,8 @@ TIME
|
|
|
f14159f |
parse_date_core(cfile)
|
|
|
f14159f |
struct parse *cfile;
|
|
|
f14159f |
{
|
|
|
f14159f |
- int guess;
|
|
|
f14159f |
- int tzoff, wday, year, mon, mday, hour, min, sec;
|
|
|
f14159f |
+ TIME guess;
|
|
|
f14159f |
+ long int tzoff, wday, year, mon, mday, hour, min, sec;
|
|
|
f14159f |
const char *val;
|
|
|
f14159f |
enum dhcp_token token;
|
|
|
f14159f |
static int months [11] = { 31, 59, 90, 120, 151, 181,
|