diff options
author | maxim <maxim@FreeBSD.org> | 2007-04-30 19:08:13 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2007-04-30 19:08:13 +0000 |
commit | b4aa820f7040499dcde01be962528453dbd12e1c (patch) | |
tree | d4f6dbe9719284e56bce38bc92b0b31e48dd994d /usr.sbin | |
parent | 24e3ce108a904527e77cb4fbbaac2ae1c12bf0ce (diff) | |
download | FreeBSD-src-b4aa820f7040499dcde01be962528453dbd12e1c.zip FreeBSD-src-b4aa820f7040499dcde01be962528453dbd12e1c.tar.gz |
o I failed to find a suitable explanation why traceroute(8) and
traceroute6(8) force -w flag (wait time) to be > 1 sec. Make it
possible to use 1 sec wait time.
PR: bin/110933
Submitted by: Dmitry Marakasov
Reviewed by: freebsd-net (silence)
MFC after: 1 month
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/traceroute6/traceroute6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/traceroute6/traceroute6.c b/usr.sbin/traceroute6/traceroute6.c index b304f14..327fa84 100644 --- a/usr.sbin/traceroute6/traceroute6.c +++ b/usr.sbin/traceroute6/traceroute6.c @@ -541,9 +541,9 @@ main(argc, argv) "traceroute6: invalid wait time.\n"); exit(1); } - if (waittime <= 1) { + if (waittime < 1) { fprintf(stderr, - "traceroute6: wait must be >1 sec.\n"); + "traceroute6: wait must be >= 1 sec.\n"); exit(1); } break; |