summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7cb1f52)
raw | patch | inline | side by side (parent: 7cb1f52)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 12 Mar 2009 07:38:21 +0000 (08:38 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 12 Mar 2009 07:38:21 +0000 (08:38 +0100) |
Previously, only 1/5s was allowed. Now everything down to 1/1000s is
accepted.
accepted.
src/oping.c | patch | blob | history |
diff --git a/src/oping.c b/src/oping.c
index 4100caf219cd0e39be9c07eb861d6fa54fad1699..cfbe18ac59e9d4076cf79318eee5a3fdb3dd968f 100644 (file)
--- a/src/oping.c
+++ b/src/oping.c
{
double new_interval;
new_interval = atof (optarg);
- if (new_interval >= 0.2)
+ if (new_interval < 0.001)
+ fprintf (stderr, "Ignoring invalid interval %g.\n",
+ new_interval);
+ else
opt_interval = new_interval;
}
break;