mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-29 21:40:52 +03:00
nfqws: minor beautify
This commit is contained in:
parent
284f911785
commit
9b3bbb7285
@ -2090,7 +2090,7 @@ static void packet_debug(bool replay, const struct dissect *dis)
|
|||||||
char s[80];
|
char s[80];
|
||||||
str_tcphdr(s,sizeof(s),dis->tcp);
|
str_tcphdr(s,sizeof(s),dis->tcp);
|
||||||
DLOG(" %s\n",s);
|
DLOG(" %s\n",s);
|
||||||
if (dis->len_payload) { DLOG("TCP: len %zu : ",dis->len_payload); hexdump_limited_dlog(dis->data_payload, dis->len_payload, 32); DLOG("\n"); }
|
if (dis->len_payload) { DLOG("TCP: len=%zu : ",dis->len_payload); hexdump_limited_dlog(dis->data_payload, dis->len_payload, 32); DLOG("\n"); }
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (dis->udp)
|
else if (dis->udp)
|
||||||
@ -2098,7 +2098,7 @@ static void packet_debug(bool replay, const struct dissect *dis)
|
|||||||
char s[30];
|
char s[30];
|
||||||
str_udphdr(s,sizeof(s),dis->udp);
|
str_udphdr(s,sizeof(s),dis->udp);
|
||||||
DLOG(" %s\n",s);
|
DLOG(" %s\n",s);
|
||||||
if (dis->len_payload) { DLOG("UDP: len %zu : ",dis->len_payload); hexdump_limited_dlog(dis->data_payload, dis->len_payload, 32); DLOG("\n"); }
|
if (dis->len_payload) { DLOG("UDP: len=%zu : ",dis->len_payload); hexdump_limited_dlog(dis->data_payload, dis->len_payload, 32); DLOG("\n"); }
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
DLOG("\n");
|
DLOG("\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user