diff options
| author | lijia <[email protected]> | 2024-04-18 16:31:39 +0800 |
|---|---|---|
| committer | lijia <[email protected]> | 2024-04-18 16:31:39 +0800 |
| commit | fcb3c8528609888ef76ba7c176f78cf3800340ea (patch) | |
| tree | ce9aa745b46cb3faa7f7c10df0bcd12ecc53b894 /src/tcpdump.c | |
| parent | 91900e199b38428cf222902e6d86792f488fd487 (diff) | |
print inner most layer for tunnel if has -g argumentfeat-print-innermost-tuple4
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过滤条件 */ |
