|
@ -938,7 +938,7 @@ bool IsQUICInitial(const uint8_t *data, size_t len) |
|
|
|
|
|
|
|
|
bool IsWireguardHandshakeInitiation(const uint8_t *data, size_t len) |
|
|
bool IsWireguardHandshakeInitiation(const uint8_t *data, size_t len) |
|
|
{ |
|
|
{ |
|
|
return len==148 && data[0]==1 && data[1]==0 && data[2]==0 && data[3]==0; |
|
|
return len==148 && data[0]==1; |
|
|
} |
|
|
} |
|
|
bool IsDhtD1(const uint8_t *data, size_t len) |
|
|
bool IsDhtD1(const uint8_t *data, size_t len) |
|
|
{ |
|
|
{ |
|
|