mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 14:29:34 +08:00
trival
This commit is contained in:
parent
791f4e1ecf
commit
52358117e6
4
main.cpp
4
main.cpp
@ -241,7 +241,7 @@ tcpdump -i eth1 ip and icmp -dd
|
|||||||
(010) ret #0
|
(010) ret #0
|
||||||
|
|
||||||
*/
|
*/
|
||||||
sock_fprog bpf;
|
|
||||||
|
|
||||||
|
|
||||||
int VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV;
|
int VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV;
|
||||||
@ -881,6 +881,8 @@ int init_raw_socket()
|
|||||||
}
|
}
|
||||||
void init_filter(int port)
|
void init_filter(int port)
|
||||||
{
|
{
|
||||||
|
sock_fprog bpf;
|
||||||
|
|
||||||
filter_port=port;
|
filter_port=port;
|
||||||
if(disable_bpf_filter) return;
|
if(disable_bpf_filter) return;
|
||||||
//if(raw_mode==mode_icmp) return ;
|
//if(raw_mode==mode_icmp) return ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user