Minor fixes

This commit is contained in:
世界
2022-07-16 21:49:54 +08:00
parent fe5618c35d
commit afc2f509a4
5 changed files with 3 additions and 111 deletions

View File

@@ -12,6 +12,7 @@ import (
)
func TestSniffSTUN(t *testing.T) {
t.Parallel()
packet, err := hex.DecodeString("000100002112a44224b1a025d0c180c484341306")
require.NoError(t, err)
metadata, err := sniff.STUNMessage(context.Background(), packet)