Add a comment noting that we need to add support for files with
nanosecond timestamps. (Also test the recent anonymous repository migration.) svn path=/trunk/; revision=41248
This commit is contained in:
parent
050c0a14c9
commit
380f3f54a7
|
@ -1992,6 +1992,7 @@ cap_pipe_open_live(char *pipename,
|
||||||
pcap_opts->cap_pipe_byte_swapped = TRUE;
|
pcap_opts->cap_pipe_byte_swapped = TRUE;
|
||||||
pcap_opts->cap_pipe_modified = TRUE;
|
pcap_opts->cap_pipe_modified = TRUE;
|
||||||
break;
|
break;
|
||||||
|
/* XXX - Add support for PCAP_NSEC_MAGIC and PCAP_SWAPPED_NSEC_MAGIC */
|
||||||
default:
|
default:
|
||||||
/* Not a "libpcap" type we know about. */
|
/* Not a "libpcap" type we know about. */
|
||||||
g_snprintf(errmsg, errmsgl, "Unrecognized libpcap format");
|
g_snprintf(errmsg, errmsgl, "Unrecognized libpcap format");
|
||||||
|
@ -2625,13 +2626,13 @@ capture_loop_init_output(capture_options *capture_opts, loop_data *ld, char *err
|
||||||
get_os_version_info(os_info_str);
|
get_os_version_info(os_info_str);
|
||||||
|
|
||||||
g_snprintf(appname, sizeof(appname), "Dumpcap " VERSION "%s", wireshark_svnversion);
|
g_snprintf(appname, sizeof(appname), "Dumpcap " VERSION "%s", wireshark_svnversion);
|
||||||
successful = libpcap_write_session_header_block(ld->pdh,
|
successful = libpcap_write_session_header_block(ld->pdh,
|
||||||
NULL, /* Comment*/
|
NULL, /* Comment*/
|
||||||
NULL, /* HW*/
|
NULL, /* HW*/
|
||||||
os_info_str->str, /* OS*/
|
os_info_str->str, /* OS*/
|
||||||
appname,
|
appname,
|
||||||
-1, /* section_length */
|
-1, /* section_length */
|
||||||
&ld->bytes_written,
|
&ld->bytes_written,
|
||||||
&err);
|
&err);
|
||||||
|
|
||||||
for (i = 0; successful && (i < capture_opts->ifaces->len); i++) {
|
for (i = 0; successful && (i < capture_opts->ifaces->len); i++) {
|
||||||
|
@ -3088,13 +3089,13 @@ do_file_switch_or_stop(capture_options *capture_opts,
|
||||||
get_os_version_info(os_info_str);
|
get_os_version_info(os_info_str);
|
||||||
|
|
||||||
g_snprintf(appname, sizeof(appname), "Dumpcap " VERSION "%s", wireshark_svnversion);
|
g_snprintf(appname, sizeof(appname), "Dumpcap " VERSION "%s", wireshark_svnversion);
|
||||||
successful = libpcap_write_session_header_block(global_ld.pdh,
|
successful = libpcap_write_session_header_block(global_ld.pdh,
|
||||||
NULL, /* Comment */
|
NULL, /* Comment */
|
||||||
NULL, /* HW */
|
NULL, /* HW */
|
||||||
os_info_str->str, /* OS */
|
os_info_str->str, /* OS */
|
||||||
appname,
|
appname,
|
||||||
-1, /* section_length */
|
-1, /* section_length */
|
||||||
&(global_ld.bytes_written),
|
&(global_ld.bytes_written),
|
||||||
&global_ld.err);
|
&global_ld.err);
|
||||||
|
|
||||||
for (i = 0; successful && (i < capture_opts->ifaces->len); i++) {
|
for (i = 0; successful && (i < capture_opts->ifaces->len); i++) {
|
||||||
|
|
Loading…
Reference in New Issue