diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2004-08-16 11:22:22 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2004-08-16 11:22:22 +0000 |
commit | e7989c831f54770196b92d24d78f80d5c5161352 (patch) | |
tree | 6724548fd4ca0f6dfa00037c8be9f4844009d6d7 /tools/l2ping.c | |
parent | 4a5bc48ff3c2a2f3acdacc6fc6ee2632687455e7 (diff) |
Let the id display start with 0 even if internal it start with 200
Diffstat (limited to 'tools/l2ping.c')
-rw-r--r-- | tools/l2ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/l2ping.c b/tools/l2ping.c index af056bc6..1f3f3a41 100644 --- a/tools/l2ping.c +++ b/tools/l2ping.c @@ -191,7 +191,7 @@ static void ping(char *svr) gettimeofday(&tv_recv, NULL); timersub(&tv_recv, &tv_send, &tv_diff); - printf("%d bytes from %s id %d time %.2fms\n", cmd->len, svr, id, tv2fl(tv_diff)); + printf("%d bytes from %s id %d time %.2fms\n", cmd->len, svr, id - ident, tv2fl(tv_diff)); if (delay) sleep(delay); } else { |