Skip to content

Commit 60b97db

Browse files
author
bol-van
committed
nfqws: remove debug printfs
1 parent e56e4f5 commit 60b97db

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

nfq/desync.c

+2
Original file line numberDiff line numberDiff line change
@@ -1963,6 +1963,8 @@ static uint8_t dpi_desync_udp_packet_play(bool replay, size_t reasm_offset, uint
19631963
{
19641964
if (bFull)
19651965
{
1966+
DLOG("QUIC initial contains CRYPTO with full fragment coverage\n");
1967+
19661968
bool bIsHello = IsQUICCryptoHello(defrag, defrag_len, &hello_offset, &hello_len);
19671969
bool bReqFull = bIsHello ? IsTLSHandshakeFull(defrag+hello_offset,hello_len) : false;
19681970

nfq/protocol.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -916,8 +916,8 @@ bool QUICDefragCrypto(const uint8_t *clean,size_t clean_len, uint8_t *defrag,siz
916916

917917
qsort(ranges, range, sizeof(*ranges), cmp_range64);
918918

919-
for(i=0 ; i<range ; i++)
920-
printf("RANGE %zu len %zu\n",ranges[i].offset,ranges[i].len);
919+
//for(i=0 ; i<range ; i++)
920+
// printf("RANGE %zu len %zu\n",ranges[i].offset,ranges[i].len);
921921

922922
for(i=0,offset=0,*bFull=true ; i<range ; i++)
923923
{
@@ -929,7 +929,7 @@ bool QUICDefragCrypto(const uint8_t *clean,size_t clean_len, uint8_t *defrag,siz
929929
offset += ranges[i].len;
930930
}
931931

932-
printf("bFull=%d\n",*bFull);
932+
//printf("bFull=%u\n",*bFull);
933933
}
934934
return found;
935935
}

0 commit comments

Comments
 (0)