From Jose Pedro Oliveira:

Enforce the modelines in dumpcap.c and in pcapio.c

svn path=/trunk/; revision=41505
This commit is contained in:
Anders Broman 2012-03-12 15:40:57 +00:00
parent 0400088936
commit cbde63643e
2 changed files with 498 additions and 498 deletions

View File

@ -3102,7 +3102,7 @@ do_file_switch_or_stop(capture_options *capture_opts,
NULL, /* HW */
os_info_str->str, /* OS */
appname,
-1, /* section_length */
-1, /* section_length */
&(global_ld.bytes_written),
&global_ld.err);
@ -3111,10 +3111,10 @@ 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,
NULL, /* OPT_COMMENT 1 */
interface_opts.name, /* IDB_NAME 2 */
interface_opts.name, /* IDB_NAME 2 */
interface_opts.descr, /* IDB_DESCRIPTION 3 */
interface_opts.cfilter?interface_opts.cfilter:"", /* IDB_FILTER 11 */
os_info_str->str, /* IDB_OS 12 */
os_info_str->str, /* IDB_OS 12 */
pcap_opts->linktype,
pcap_opts->snaplen,
&(global_ld.bytes_written),

990
pcapio.c

File diff suppressed because it is too large Load Diff