summaryrefslogtreecommitdiffstats
path: root/plugins/check_nwstat.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-11-23 05:38:47 (GMT)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-11-23 05:38:47 (GMT)
commit6fbd14fea5c111a23d9074d25499991cbfa58f79 (patch)
tree0c1f5a77cacc664eadd47216b70e3257337484db /plugins/check_nwstat.c
parent56cf151ae91c5081a99365848a3f060dfe14a68c (diff)
downloadmonitoring-plugins-6fbd14fea5c111a23d9074d25499991cbfa58f79.tar.gz
Removing CVS/SVN tags and replacing with git-based versioning
For contrib/, full tags have been imported from subversion git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_nwstat.c')
-rw-r--r--plugins/check_nwstat.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_nwstat.c b/plugins/check_nwstat.c
index c0e5ece..72a47b1 100644
--- a/plugins/check_nwstat.c
+++ b/plugins/check_nwstat.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_nwstat plugin 10* This file contains the check_nwstat plugin
@@ -28,12 +26,10 @@
28* You should have received a copy of the GNU General Public License 26* You should have received a copy of the GNU General Public License
29* along with this program. If not, see <http://www.gnu.org/licenses/>. 27* along with this program. If not, see <http://www.gnu.org/licenses/>.
30* 28*
31* $Id$
32* 29*
33*****************************************************************************/ 30*****************************************************************************/
34 31
35const char *progname = "check_nwstat"; 32const char *progname = "check_nwstat";
36const char *revision = "$Revision$";
37const char *copyright = "2000-2007"; 33const char *copyright = "2000-2007";
38const char *email = "nagiosplug-devel@lists.sourceforge.net"; 34const char *email = "nagiosplug-devel@lists.sourceforge.net";
39 35
@@ -1360,7 +1356,7 @@ int process_arguments(int argc, char **argv) {
1360 print_help(); 1356 print_help();
1361 exit(STATE_OK); 1357 exit(STATE_OK);
1362 case 'V': /* version */ 1358 case 'V': /* version */
1363 print_revision(progname, revision); 1359 print_revision(progname, NP_VERSION);
1364 exit(STATE_OK); 1360 exit(STATE_OK);
1365 case 'H': /* hostname */ 1361 case 'H': /* hostname */
1366 server_address=optarg; 1362 server_address=optarg;
@@ -1597,7 +1593,7 @@ void print_help(void)
1597 char *myport; 1593 char *myport;
1598 asprintf (&myport, "%d", PORT); 1594 asprintf (&myport, "%d", PORT);
1599 1595
1600 print_revision (progname, revision); 1596 print_revision (progname, NP_VERSION);
1601 1597
1602 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"); 1598 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n");
1603 printf (COPYRIGHT, copyright, email); 1599 printf (COPYRIGHT, copyright, email);