mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-02-07 23:59:36 +08:00
fix \n in log
This commit is contained in:
parent
5ff768b165
commit
7544fbe9d7
@ -872,7 +872,7 @@ void init_filter(int port)
|
|||||||
if(1)
|
if(1)
|
||||||
{
|
{
|
||||||
int ret=pcap_setdirection(pcap_handle,PCAP_D_IN);
|
int ret=pcap_setdirection(pcap_handle,PCAP_D_IN);
|
||||||
if(ret!=0) mylog(log_debug,"pcap_setdirection(pcap_handle,PCAP_D_IN) failed with value %d, %s",ret,pcap_geterr(pcap_handle));
|
if(ret!=0) mylog(log_debug,"pcap_setdirection(pcap_handle,PCAP_D_IN) failed with value %d, %s\n",ret,pcap_geterr(pcap_handle));
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(g_filter_compile_cnt!=0);
|
assert(g_filter_compile_cnt!=0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user