修复ip分片跳转BUG.

This commit is contained in:
lijia
2018-11-16 15:21:57 +08:00
parent e601cdb8ca
commit e3fca62644
4 changed files with 19 additions and 16 deletions

View File

@@ -2177,7 +2177,10 @@ main(int argc, char **argv)
if (pcap_compile(pd, &fcode, cmdbuf, Oflag, netmask) < 0){
error("%s", pcap_geterr(pd));
}else{
has_bpf_filter_flag = 1;
/* <20><>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>bpf filter, <20>˴<EFBFBD><CBB4>ж<EFBFBD>һ<EFBFBD><D2BB> */
if(cmdbuf){
has_bpf_filter_flag = 1;
}
}
if (dflag) {