Merge pull request #26 from eltociear/patch-1

fix typo
This commit is contained in:
hufrea 2024-08-04 20:33:24 +03:00 committed by GitHub
commit fe7f949209
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

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

View File

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