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.c51
1 files changed, 23 insertions, 28 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c
index bc2f4bbe..a41a86e9 100644
--- a/plugins-root/check_dhcp.c
+++ b/plugins-root/check_dhcp.c
@@ -1,49 +1,44 @@
1/****************************************************************************** 1/*****************************************************************************
2* 2*
3* Nagios check_dhcp plugin 3* Nagios check_dhcp plugin
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 2001-2004 Ethan Galstad (nagios@nagios.org) 6* Copyright (c) 2001-2004 Ethan Galstad (nagios@nagios.org)
7* Copyright (c) 2001-2006 Nagios Plugin Development Team 7* Copyright (c) 2001-2007 Nagios Plugin Development Team
8* 8*
9* Last Modified: $Date$ 9* Last Modified: $Date$
10* 10*
11* Description: 11* Description:
12* 12*
13* This file contains the check_dhcp plugin 13* This file contains the check_dhcp plugin
14* 14*
15* This plugin tests the availability of DHCP servers on a network. 15* This plugin tests the availability of DHCP servers on a network.
16* 16*
17* 17* Unicast mode was originally implemented by Heiti of Boras Kommun with
18* License Information: 18* general improvements as well as usability fixes and "forward"-porting by
19* 19* Andreas Ericsson of OP5 AB.
20* This program is free software; you can redistribute it and/or modify 20*
21*
22* This program is free software: you can redistribute it and/or modify
21* it under the terms of the GNU General Public License as published by 23* it under the terms of the GNU General Public License as published by
22* the Free Software Foundation; either version 2 of the License, or 24* the Free Software Foundation, either version 3 of the License, or
23* (at your option) any later version. 25* (at your option) any later version.
24* 26*
25* This program is distributed in the hope that it will be useful, 27* This program is distributed in the hope that it will be useful,
26* but WITHOUT ANY WARRANTY; without even the implied warranty of 28* but WITHOUT ANY WARRANTY; without even the implied warranty of
27* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 29* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28* GNU General Public License for more details. 30* GNU General Public License for more details.
29* 31*
30* You should have received a copy of the GNU General Public License 32* You should have received a copy of the GNU General Public License
31* along with this program; if not, write to the Free Software 33* along with this program. If not, see <http://www.gnu.org/licenses/>.
32* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 34*
33*
34* $Id$ 35* $Id$
35* 36*
36* ------------------------------------------------------------------------
37* Unicast mode was originally implemented by Heiti of Boras Kommun with
38* general improvements as well as usability fixes and "forward"-porting by
39* Andreas Ericsson of OP5 AB.
40* ------------------------------------------------------------------------
41*
42*****************************************************************************/ 37*****************************************************************************/
43 38
44const char *progname = "check_dhcp"; 39const char *progname = "check_dhcp";
45const char *revision = "$Revision$"; 40const char *revision = "$Revision$";
46const char *copyright = "2001-2006"; 41const char *copyright = "2001-2007";
47const char *email = "nagiosplug-devel@lists.sourceforge.net"; 42const char *email = "nagiosplug-devel@lists.sourceforge.net";
48 43
49#include "common.h" 44#include "common.h"