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;
}
#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