diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-03-09 15:29:35 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-03-09 15:29:35 +0000 |
commit | ade3bd548ae4b02c8cb9bb8344b9329997ed62d8 (patch) | |
tree | b77798ef962f6441fd1bc59832ced957164998d5 | |
parent | fec9ebacb2ed6aa84932fc30fdf91ca746784065 (diff) |
Forward interface_opts.descr (currently empty) when writing IDB:s
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41454 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r-- | dumpcap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2649,7 +2649,7 @@ capture_loop_init_output(capture_options *capture_opts, loop_data *ld, char *err successful = libpcap_write_interface_description_block(global_ld.pdh, NULL, /* OPT_COMMENT 1 */ interface_opts.name, /* IDB_NAME 2 */ - NULL, /* IDB_DESCRIPTION 3 */ + interface_opts.descr, /* IDB_DESCRIPTION 3 */ interface_opts.cfilter?interface_opts.cfilter:"", /* IDB_FILTER 11 */ os_info_str->str, /* IDB_OS 12 */ pcap_opts->linktype, @@ -3107,7 +3107,7 @@ do_file_switch_or_stop(capture_options *capture_opts, successful = libpcap_write_interface_description_block(global_ld.pdh, NULL, /* OPT_COMMENT 1 */ interface_opts.name, /* IDB_NAME 2 */ - NULL, /* IDB_DESCRIPTION 3 */ + interface_opts.descr, /* IDB_DESCRIPTION 3 */ interface_opts.cfilter?interface_opts.cfilter:"", /* IDB_FILTER 11 */ os_info_str->str, /* IDB_OS 12 */ pcap_opts->linktype, |