Code

check was supposed to be agains ms - got munged wfixeg the perfdata output to be...
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>
Tue, 23 Mar 2004 06:35:44 +0000 (06:35 +0000)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>
Tue, 23 Mar 2004 06:35:44 +0000 (06:35 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@858 f882894a-f735-0410-b71e-b25c423dba1c

plugins/check_fping.c

index dff7ff992f4f0b709a141a286f9bee193f7646d2..1a53677230147117e67ed943c8600cacdc121074 100644 (file)
@@ -263,7 +263,7 @@ process_arguments (int argc, char **argv)
                case 'c':
                        get_threshold (optarg, rv);
                        if (rv[RTA]) {
-                               crta = 1e-3 * strtod (rv[RTA], NULL);
+                               crta = strtod (rv[RTA], NULL);
                                crta_p = TRUE;
                                rv[RTA] = NULL;
                        }
@@ -276,7 +276,7 @@ process_arguments (int argc, char **argv)
                case 'w':
                        get_threshold (optarg, rv);
                        if (rv[RTA]) {
-                               wrta = 1e-3 * strtod (rv[RTA], NULL);
+                               wrta = strtod (rv[RTA], NULL);
                                wrta_p = TRUE;
                                rv[RTA] = NULL;
                        }