[Nagiosplug-checkins] nagiosplug/plugins-root check_icmp.c, 1.7, 1.8

Benoit Mortier opensides at users.sourceforge.net
Tue Oct 24 23:54:09 CEST 2006


Update of /cvsroot/nagiosplug/nagiosplug/plugins-root
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv8855/plugins-root

Modified Files:
	check_icmp.c 
Log Message:

more fixes and removal of certain sentences not needed



Index: check_icmp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-root/check_icmp.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- check_icmp.c	24 Oct 2006 21:48:22 -0000	1.7
+++ check_icmp.c	24 Oct 2006 21:54:06 -0000	1.8
@@ -1209,13 +1209,13 @@
   printf ("    %s", _("max packet interval (currently "));
   printf ("%0.3fms)\n",(float)pkt_interval / 1000);
   printf (" %s\n", "-I");
-  printf ("    %s\n", _("max target interval (currently "));
+  printf ("    %s", _("max target interval (currently "));
   printf ("%0.3fms)\n", (float)target_interval / 1000);
   printf (" %s\n", "-l");
-  printf ("    %s\n", _("TTL on outgoing packets (currently "));
+  printf ("    %s", _("TTL on outgoing packets (currently "));
   printf ("%u)", ttl);
   printf (" %s\n", "-t");
-  printf ("    %s\n",_("timeout value (seconds, currently  "));
+  printf ("    %s",_("timeout value (seconds, currently  "));
   printf ("%u)\n", timeout);
   printf (" %s\n", "-b");
   printf ("    %s\n", _("icmp packet size (currenly ignored)"));
@@ -1232,9 +1232,9 @@
   printf ("%s\n", _("are spent and CRITICAL if >= 14 hops are spent."));
   printf ("%s\n\n", _("NOTE: Some systems decrease TTL when forming ICMP_ECHOREPLY, others do not."));
   printf ("%s\n\n", _("The -v switch can be specified several times for increased verbosity."));
-  printf ("%s\n", _("Long options are currently unsupported."));
+/*  printf ("%s\n", _("Long options are currently unsupported."));
   printf ("%s\n", _("Options marked with * require an argument"));
-
+*/
   printf (_(UT_SUPPORT));
   
   printf (_(UT_NOWARRANTY));
@@ -1246,5 +1246,5 @@
 print_usage (void)
 {
   printf (_("Usage:"));
-  printf("Usage: %s [options] [-H] host1 host2 hostn\n", progname);
+  printf(" %s [options] [-H] host1 host2 hostn\n", progname);
 }





More information about the Commits mailing list