diff options
author | tuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-31 14:49:21 +0000 |
---|---|---|
committer | tuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-31 14:49:21 +0000 |
commit | bf3b6200ebf144fdb5620ff1815bb1bda125d288 (patch) | |
tree | eb50fdaf9f252918e5d1788b0148e66f152a3fb2 /dumpcap.c | |
parent | 05402df5b76656e0c80521375efb605a26579396 (diff) |
Get rid of has_cfilter to simplify the handling of multiple interfaces.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37478 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2518,7 +2518,7 @@ capture_loop_init_output(capture_options *capture_opts, loop_data *ld, char *err } successful = libpcap_write_interface_description_block(ld->pdh, interface_opts.name, - interface_opts.cfilter, + interface_opts.cfilter?interface_opts.cfilter:"", pcap_opts->linktype, pcap_opts->snaplen, &ld->bytes_written, @@ -2947,7 +2947,7 @@ do_file_switch_or_stop(capture_options *capture_opts, pcap_opts = g_array_index(global_ld.pcaps, pcap_options *, i); successful = libpcap_write_interface_description_block(global_ld.pdh, interface_opts.name, - interface_opts.cfilter, + interface_opts.cfilter?interface_opts.cfilter:"", pcap_opts->linktype, pcap_opts->snaplen, &(global_ld.bytes_written), |