Commit 31b118f1 authored by Shawn Routhier's avatar Shawn Routhier
Browse files

[v4_1_esv] Print preferred life and max life as unsigned ints

    [rt37084]

    Change how we print the preferred_live and max_life variables
    into envvironment strings in the client code from being a signed
    int to an unsigned int.
parent 41811bf8
......@@ -165,6 +165,11 @@ by Eric Young (eay@cryptsoft.com).
files.
[ISC-Bugs #38078]
- In the client code change the way preferred_life and max_life are printed
for environment variables to be unsigned rather than signed.
Thanks to Jiri Popelka at Red Hat for the bug report and patch.
[ISC-Bugs #37084]
Changes since 4.1-ESV-R10rc1
- None
......
......@@ -3922,10 +3922,10 @@ dhc6_marshall_values(const char *prefix, struct client_state *client,
}
client_envadd(client, prefix, "life_starts", "%d",
(int)(addr->starts));
client_envadd(client, prefix, "preferred_life", "%d",
(int)(addr->preferred_life));
client_envadd(client, prefix, "max_life", "%d",
(int)(addr->max_life));
client_envadd(client, prefix, "preferred_life", "%u",
addr->preferred_life);
client_envadd(client, prefix, "max_life", "%u",
addr->max_life);
}
/* ia fields. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment