From 3e3d2a947e35feeb13051da45a11e15c866954a9 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Mon, 5 Aug 2024 01:24:32 +0900 Subject: [PATCH 1/2] chore: update packets.h is_quic_inital -> is_quic_initial --- packets.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packets.h b/packets.h index beae78b..5ef44c4 100644 --- a/packets.h +++ b/packets.h @@ -42,4 +42,4 @@ int part_tls(char *buffer, size_t bsize, ssize_t n, long pos); //bool is_dns_req(char *buffer, size_t n); -//bool is_quic_inital(char *buffer, size_t bsize); +//bool is_quic_initial(char *buffer, size_t bsize); From c1aceddc35a53b2497bb361d8a9011423b853d10 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Mon, 5 Aug 2024 01:26:18 +0900 Subject: [PATCH 2/2] chore: update packets.c is_quic_inital -> is_quic_initial --- packets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packets.c b/packets.c index 64f9c52..52fd278 100644 --- a/packets.c +++ b/packets.c @@ -363,7 +363,7 @@ bool is_dns_req(char *buffer, size_t n) } -bool is_quic_inital(char *buffer, size_t bsize) +bool is_quic_initial(char *buffer, size_t bsize) { return (bsize > 64 && (buffer[0] & 0xc0) == 0xc0); }