From bef54a23fb493761d992e3772ea42b988c5fbc30 Mon Sep 17 00:00:00 2001 From: "Nicholas J. Kain" Date: Wed, 29 Jun 2011 20:14:24 -0400 Subject: [PATCH] Rename perform_renew() and perform_release() to force_renew() and force_release(). --- ndhc/ndhc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ndhc/ndhc.c b/ndhc/ndhc.c index f9485bb..12ae5bf 100644 --- a/ndhc/ndhc.c +++ b/ndhc/ndhc.c @@ -121,7 +121,7 @@ static void show_usage(void) } /* perform a renew */ -static void perform_renew(void) +static void force_renew(void) { log_line("Performing a DHCP renew..."); retry: @@ -160,7 +160,7 @@ static void perform_renew(void) /* perform a release */ -static void perform_release(void) +static void force_release(void) { struct in_addr temp_saddr, temp_raddr; @@ -203,10 +203,10 @@ static void signal_dispatch() } switch (si.ssi_signo) { case SIGUSR1: - perform_renew(); + force_renew(); break; case SIGUSR2: - perform_release(); + force_release(); break; case SIGTERM: log_line("Received SIGTERM. Exiting gracefully.");