From 8f80a10905ecbf0c717d19ea3980fc04e02e6aed Mon Sep 17 00:00:00 2001 From: "Nicholas J. Kain" Date: Mon, 11 Jul 2011 23:41:38 -0400 Subject: [PATCH] Remove some redundant log messages, and make the forced-release print a bit more user-friendly. --- ndhc/state.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ndhc/state.c b/ndhc/state.c index 7a485d5..4b00b26 100644 --- a/ndhc/state.c +++ b/ndhc/state.c @@ -112,7 +112,6 @@ static void bound_timeout(struct client_state_t *cs, long long nowts) } cs->dhcpState = DS_RENEWING; set_listen_cooked(cs); - log_line("Entering renew state."); 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); } else { cs->dhcpState = DS_REBINDING; - log_line("Entering rebinding state."); 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) { - log_line("Entering released state."); + log_line("ndhc going to sleep. Wake it by sending a SIGUSR1."); set_released(cs); }