summaryrefslogtreecommitdiffstats
path: root/plugins/check_ping.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r--plugins/check_ping.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index c457ad6..8c4c0e6 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -5,8 +5,6 @@
5* License: GPL 5* License: GPL
6* Copyright (c) 2000-2007 Nagios Plugins Development Team 6* Copyright (c) 2000-2007 Nagios Plugins Development Team
7* 7*
8* Last Modified: $Date$
9*
10* Description: 8* Description:
11* 9*
12* This file contains the check_ping plugin 10* This file contains the check_ping plugin
@@ -27,12 +25,10 @@
27* You should have received a copy of the GNU General Public License 25* You should have received a copy of the GNU General Public License
28* along with this program. If not, see <http://www.gnu.org/licenses/>. 26* along with this program. If not, see <http://www.gnu.org/licenses/>.
29* 27*
30* $Id$
31* 28*
32*****************************************************************************/ 29*****************************************************************************/
33 30
34const char *progname = "check_ping"; 31const char *progname = "check_ping";
35const char *revision = "$Revision$";
36const char *copyright = "2000-2007"; 32const char *copyright = "2000-2007";
37const char *email = "nagiosplug-devel@lists.sourceforge.net"; 33const char *email = "nagiosplug-devel@lists.sourceforge.net";
38 34
@@ -231,7 +227,7 @@ process_arguments (int argc, char **argv)
231 exit (STATE_OK); 227 exit (STATE_OK);
232 break; 228 break;
233 case 'V': /* version */ 229 case 'V': /* version */
234 print_revision (progname, revision); 230 print_revision (progname, NP_VERSION);
235 exit (STATE_OK); 231 exit (STATE_OK);
236 break; 232 break;
237 case 't': /* timeout period */ 233 case 't': /* timeout period */
@@ -555,7 +551,7 @@ error_scan (char buf[MAX_INPUT_BUFFER], const char *addr)
555void 551void
556print_help (void) 552print_help (void)
557{ 553{
558 print_revision (progname, revision); 554 print_revision (progname, NP_VERSION);
559 555
560 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"); 556 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n");
561 printf (COPYRIGHT, copyright, email); 557 printf (COPYRIGHT, copyright, email);