diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-02-29 20:32:12 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-02-29 20:32:12 +0000 |
commit | 380f3f54a7e805c0c7e5bad38cd298973c106070 (patch) | |
tree | 4e0816c5a27ad22605f15ada47ff187a77e6a49e /dumpcap.c | |
parent | 050c0a14c99012fcf7b0ea57b243fd5684a4271b (diff) |
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
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1992,6 +1992,7 @@ cap_pipe_open_live(char *pipename, pcap_opts->cap_pipe_byte_swapped = TRUE; pcap_opts->cap_pipe_modified = TRUE; break; + /* XXX - Add support for PCAP_NSEC_MAGIC and PCAP_SWAPPED_NSEC_MAGIC */ default: /* Not a "libpcap" type we know about. */ 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); 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, /* HW*/ os_info_str->str, /* OS*/ appname, -1, /* section_length */ - &ld->bytes_written, + &ld->bytes_written, &err); 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); 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, /* HW */ os_info_str->str, /* OS */ appname, -1, /* section_length */ - &(global_ld.bytes_written), + &(global_ld.bytes_written), &global_ld.err); for (i = 0; successful && (i < capture_opts->ifaces->len); i++) { |