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