diff --git a/kni_intercept.c b/kni_intercept.c index 3105e8a..05769cb 100644 --- a/kni_intercept.c +++ b/kni_intercept.c @@ -14,8 +14,7 @@ #include "kni_intercept.h" #include "kni_entry.h" - - +#include "kni_utils.h" extern "C" int sendpacket_do_checksum(unsigned char* buf,int protocol,int len); @@ -807,7 +806,7 @@ int kni_process_readdata(int thread_seq,int sendpkt_threadid,int buflen,char* bu } else { - MESA_sendpacket_iplayer_options(thread_seq,buf,buflen,args.routdir,NULL,0); + MESA_sendpacket_iplayer_options(sendpkt_threadid,buf,buflen,args.routdir,NULL,0); } } else