Fix TrafficPlugin

This commit is contained in:
Vladimir Dubrovin 2026-03-30 15:18:18 +03:00
parent 9ea553d44f
commit 7f31a30f00

View File

@ -200,12 +200,12 @@ void mylogfunc(struct clientparam * param, const unsigned char * pz) {
#endif #endif
rule++; rule++;
if (((g_s == param->service) && (port == myhtons(*SAPORT(&param->sinsr)))) || if (((g_s == param->service) && (port == myhtons(*SAPORT(&param->sinsr)))) ||
( ((starttrafcorrect->type == UDP) && ( ((starttrafcorrect->con_type == UDP) &&
((param->operation == UDPASSOC)|| ((param->operation == UDPASSOC)||
(param->operation == DNSRESOLVE)|| (param->operation == DNSRESOLVE)||
(param->operation == BIND)|| (param->operation == BIND)||
(param->operation == ICMPASSOC)) (param->operation == ICMPASSOC))
)||(starttrafcorrect->type == TCP))) /* TCP support */ )||(starttrafcorrect->con_type == TCP))) /* TCP support */
{ {
/* ôèëüòð ïîäîø¸ë. ìîæíî èçìåíÿòü çíà÷åíèå òðàôôèêà /* ôèëüòð ïîäîø¸ë. ìîæíî èçìåíÿòü çíà÷åíèå òðàôôèêà
äîìíîæàåì íà ÷èñëî */ äîìíîæàåì íà ÷èñëî */