chore: update packets.c

is_quic_inital -> is_quic_initial
This commit is contained in:
Ikko Eltociear Ashimine 2024-08-05 01:26:18 +09:00 committed by GitHub
parent 3e3d2a947e
commit c1aceddc35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}