2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 22:05:23 +00:00

Correct ordering of log arguments.

This commit is contained in:
Ted Lemon
1999-10-14 17:40:05 +00:00
parent 6f2e946022
commit 1c0166794d

View File

@@ -22,7 +22,7 @@
#ifndef lint
static char ocopyright[] =
"$Id: dhclient.c,v 1.85 1999/10/12 16:00:18 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
"$Id: dhclient.c,v 1.86 1999/10/14 17:40:05 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -1202,16 +1202,12 @@ void state_panic (cpp)
yet need renewal, go into BOUND state and
timeout at the renewal time. */
if (!script_go (client)) {
if (cur_time <
client -> active -> renewal) {
if (cur_time < client -> active -> renewal) {
client -> state = S_BOUND;
log_info ("bound: renewal in %s %ld.",
"seconds",
(long)
(client -> active -> renewal
- cur_time));
add_timeout ((client ->
active -> renewal),
log_info ("bound: renewal in %ld %s.",
(long)(client -> active -> renewal -
cur_time), "seconds");
add_timeout (client -> active -> renewal,
state_bound, client);
} else {
client -> state = S_BOUND;