mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-31 20:29:36 +08:00
trival
This commit is contained in:
parent
dab787a5dc
commit
073bc8baa3
2
main.cpp
2
main.cpp
@ -379,7 +379,7 @@ void init_filter(int port)
|
||||
//printf("<%d>\n",bpf.len);
|
||||
int dummy;
|
||||
|
||||
int ret=setsockopt(raw_recv_fd, SOL_SOCKET, SO_DETACH_FILTER, &dummy, sizeof(int));
|
||||
int ret=setsockopt(raw_recv_fd, SOL_SOCKET, SO_DETACH_FILTER, &dummy, sizeof(dummy));
|
||||
if (ret != 0)
|
||||
{
|
||||
printf("error remove fiter\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user