Remove some redundant log messages, and make the forced-release print a bit

more user-friendly.
This commit is contained in:
Nicholas J. Kain 2011-07-11 23:41:38 -04:00
parent af365be9b7
commit 8f80a10905

View File

@ -112,7 +112,6 @@ static void bound_timeout(struct client_state_t *cs, long long nowts)
} }
cs->dhcpState = DS_RENEWING; cs->dhcpState = DS_RENEWING;
set_listen_cooked(cs); set_listen_cooked(cs);
log_line("Entering renew state.");
renewing_timeout(cs, nowts); renewing_timeout(cs, nowts);
} }
@ -134,7 +133,6 @@ static void renewing_timeout(struct client_state_t *cs, long long nowts)
dhcp_wake_ts = nowts + ((rbt - nowts) / 2); dhcp_wake_ts = nowts + ((rbt - nowts) / 2);
} else { } else {
cs->dhcpState = DS_REBINDING; cs->dhcpState = DS_REBINDING;
log_line("Entering rebinding state.");
rebinding_timeout(cs, nowts); rebinding_timeout(cs, nowts);
} }
} }
@ -305,7 +303,7 @@ static void xmit_release(struct client_state_t *cs)
static void print_release(struct client_state_t *cs) static void print_release(struct client_state_t *cs)
{ {
log_line("Entering released state."); log_line("ndhc going to sleep. Wake it by sending a SIGUSR1.");
set_released(cs); set_released(cs);
} }