summaryrefslogtreecommitdiff
path: root/contrib/traceroute
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-01-10 16:48:52 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-01-10 16:48:52 +0000
commit811c0f2ed0e6baaf1cfb5ac70fdf1c8b30bf889f (patch)
tree452c0acaaaae6848aaa8db49c26a0caeefd3ddbe /contrib/traceroute
parent582fa422ec7b02a9c445d900d4b8738d25e85806 (diff)
downloadsrc-test2-811c0f2ed0e6baaf1cfb5ac70fdf1c8b30bf889f.tar.gz
src-test2-811c0f2ed0e6baaf1cfb5ac70fdf1c8b30bf889f.zip
Notes
Diffstat (limited to 'contrib/traceroute')
-rw-r--r--contrib/traceroute/traceroute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/traceroute/traceroute.c b/contrib/traceroute/traceroute.c
index 3c40b6d4d8d7..7215ca0f3226 100644
--- a/contrib/traceroute/traceroute.c
+++ b/contrib/traceroute/traceroute.c
@@ -946,7 +946,7 @@ main(int argc, char **argv)
continue;
if (!gotlastaddr ||
from->sin_addr.s_addr != lastaddr) {
- if (probe > 0) printf("\n ");
+ if (gotlastaddr) printf("\n ");
print(packet, cc, from);
lastaddr = from->sin_addr.s_addr;
++gotlastaddr;