summaryrefslogtreecommitdiffstats
path: root/plugins-root/check_dhcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-root/check_dhcp.c')
-rw-r--r--plugins-root/check_dhcp.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c
index 35874a93..bdd348f2 100644
--- a/plugins-root/check_dhcp.c
+++ b/plugins-root/check_dhcp.c
@@ -6,8 +6,6 @@
6* Copyright (c) 2001-2004 Ethan Galstad (nagios@nagios.org) 6* Copyright (c) 2001-2004 Ethan Galstad (nagios@nagios.org)
7* Copyright (c) 2001-2007 Nagios Plugin Development Team 7* Copyright (c) 2001-2007 Nagios Plugin Development Team
8* 8*
9* Last Modified: $Date$
10*
11* Description: 9* Description:
12* 10*
13* This file contains the check_dhcp plugin 11* This file contains the check_dhcp plugin
@@ -32,12 +30,10 @@
32* You should have received a copy of the GNU General Public License 30* You should have received a copy of the GNU General Public License
33* along with this program. If not, see <http://www.gnu.org/licenses/>. 31* along with this program. If not, see <http://www.gnu.org/licenses/>.
34* 32*
35* $Id$
36* 33*
37*****************************************************************************/ 34*****************************************************************************/
38 35
39const char *progname = "check_dhcp"; 36const char *progname = "check_dhcp";
40const char *revision = "$Revision$";
41const char *copyright = "2001-2007"; 37const char *copyright = "2001-2007";
42const char *email = "nagiosplug-devel@lists.sourceforge.net"; 38const char *email = "nagiosplug-devel@lists.sourceforge.net";
43 39
@@ -1168,7 +1164,7 @@ int call_getopt(int argc, char **argv){
1168 break; 1164 break;
1169 1165
1170 case 'V': /* version */ 1166 case 'V': /* version */
1171 print_revision(progname,revision); 1167 print_revision(progname, NP_VERSION);
1172 exit(STATE_OK); 1168 exit(STATE_OK);
1173 1169
1174 case 'h': /* help */ 1170 case 'h': /* help */
@@ -1385,7 +1381,7 @@ void print_hardware_address(const unsigned char *address){
1385/* print usage help */ 1381/* print usage help */
1386void print_help(void){ 1382void print_help(void){
1387 1383
1388 print_revision(progname,revision); 1384 print_revision(progname, NP_VERSION);
1389 1385
1390 printf("Copyright (c) 2001-2004 Ethan Galstad (nagios@nagios.org)\n"); 1386 printf("Copyright (c) 2001-2004 Ethan Galstad (nagios@nagios.org)\n");
1391 printf (COPYRIGHT, copyright, email); 1387 printf (COPYRIGHT, copyright, email);