diff --git a/dumpcap.c b/dumpcap.c index 5ff346fa8a..7820cb7367 100644 --- a/dumpcap.c +++ b/dumpcap.c @@ -1747,7 +1747,7 @@ capture_loop_open_output(capture_options *capture_opts, int *save_file_fd, is_tempfile = FALSE; } else { /* Choose a random name for the temporary capture buffer */ - *save_file_fd = create_tempfile(tmpname, sizeof tmpname, "ether"); + *save_file_fd = create_tempfile(tmpname, sizeof tmpname, "wireshark"); capfile_name = g_strdup(tmpname); is_tempfile = TRUE; } diff --git a/tempfile.c b/tempfile.c index e545b3b43a..0ad2fcff01 100644 --- a/tempfile.c +++ b/tempfile.c @@ -100,7 +100,7 @@ static const char *E_tmpdir; #define P_tmpdir "/var/tmp" #endif -/* create a tempfile with the given prefix (e.g. "ether") +/* create a tempfile with the given prefix (e.g. "wireshark") * namebuf (and namebuflen) should be 128+1 bytes long (BTW: why?) * returns the file descriptor of the new tempfile and * the name of the new file in namebuf