diff options
Diffstat (limited to 'src/tcpdump.c')
| -rw-r--r-- | src/tcpdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcpdump.c b/src/tcpdump.c index 84b9a80..9a08be2 100644 --- a/src/tcpdump.c +++ b/src/tcpdump.c @@ -50,7 +50,7 @@ int tcpdump_thread_index_array_num = 0; const char *tcpdump_thread_index_str; int tcpdump_perceptive_flag = 0; unsigned int perceptive_pkt_seq[256]; /* 最大支持256个线程 */ -static int greedy_seek_flag = 0; /* 偏移到最内层IP, 便于隧道模式下查找BUG */ +int greedy_seek_flag = 0; /* 偏移到最内层IP, 便于隧道模式下查找BUG */ static int dump_to_file_flag = 0; /* 是否有-w 参数, 原有标准的WFileName变量是main()的局部变量, 不方便使用, 使用此变量表示是否写文件 */ static int has_device_flag = 0; /* 是否有-i, -r参数, 原有标准的device变量是main()的局部变量, 不方便使用, 使用此变量表示是否从某个网卡捕包 */ static int has_bpf_filter_flag = 0; /* 是否有正确的BPF过滤条件 */ |
