mirror of
https://github.com/hufrea/byedpi.git
synced 2024-11-22 06:55:22 +03:00
commit
fe7f949209
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue