diff options
-rw-r--r-- | ui/cli/tap-hosts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/cli/tap-hosts.c b/ui/cli/tap-hosts.c index 00c45ab8da..d6e01b4c36 100644 --- a/ui/cli/tap-hosts.c +++ b/ui/cli/tap-hosts.c @@ -63,7 +63,8 @@ hosts_draw(void *dummy _U_) printf("# TShark hosts output\n"); printf("#\n"); - printf("# Host data gathered from %s\n", cfile.filename); + printf("# Host data gathered from %s\n", + cfile.is_tempfile ? "the temporary capture file" : cfile.filename); printf("\n"); if (dump_v4) { |