supplying the patch.
[ISC-Bugs #29108]
+- On 64-bit platforms, dhclient now generates the correct value for the
+ script environment variable, "expiry", the lease expiry value exceeds
+ 0x7FFFFFFF. Prior to this such values would produce negative values
+ for expiry in the script environment.
+ [ISC-Bugs #43326]
+
Changes since 4.1-ESV-R14b1
- None
DHCP Client. */
/*
- * Copyright (c) 2004-2016 by Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (c) 2004-2017 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1995-2003 by Internet Software Consortium
*
* Permission to use, copy, modify, and distribute this software for any
universes [i],
&es, client_option_envadd);
}
- client_envadd (client, prefix, "expiry", "%d", (int)(lease -> expiry));
+
+ client_envadd (client, prefix, "expiry", "%lu",
+ (unsigned long)(lease -> expiry));
}
/*